msgraph.httpd.types

HTTP related types
License: BSL-1.0.
struct Request;
string method;
string path;
string protocolVersion;
string[string] header;
string content;
struct Response;
HttpStatusLine status;
string[string] header;
const(ubyte)[] content;
@safe this(HttpStatusLine sts, string[string] hdr, in ubyte[] data);
@safe this(HttpStatusLine sts, string[string] hdr, in char[] data);
@safe this(HttpStatusLine sts, in ubyte[] data, string contentType = "application/octet-stream");
@safe this(HttpStatusLine sts, in char[] data, string contentType = "text/plain");
@safe this(HttpStatusLine sts, in JSONValue data, string contentType = "application/json");