TypeScript API Documentation for LIBSOUP
API Version: 3.0
Library Version: 3.6.6
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Parses date_string and tries to extract a date from it.
date_string
This recognizes all of the "HTTP-date" formats from RFC 2616, RFC 2822 dates, and reasonable approximations thereof. (Eg, it is lenient about whitespace, leading "0"s, etc.)
The date as a string
a new GLib.DateTime, or null if date_string could not be parsed.
null
Parses
date_stringand tries to extract a date from it.This recognizes all of the "HTTP-date" formats from RFC 2616, RFC 2822 dates, and reasonable approximations thereof. (Eg, it is lenient about whitespace, leading "0"s, etc.)