ParseHttpDateError
struct ParseHttpDateError
An error that can occur when parsing a HTTP date
Examples
nv
use std.net.http.date;
fn main() throws {
let d = try! date.parse("Sun, 06 Nov 1994 08:49:37 GMT");
assert_eq date.format(d), "Sun, 06 Nov 1994 08:49:37 GMT";
}
Methods