sily.curl

std.curl wrapper

Members

Aliases

AuthMethod
alias AuthMethod = HTTP.AuthMethod
Undocumented in source.
CurlProxy
alias CurlProxy = HTTP.CurlProxy
Undocumented in source.
FetchMethod
alias FetchMethod = int
Undocumented in source.

Enums

HEAD
anonymousenum HEAD
Undocumented in source.

Functions

del
HTTPRequest del(string url, string[string] headers)

Simplified version of fetch DELETE

fetch
HTTPRequest fetch(string url, FetchConfig conf)

Performs HTTP request

get
HTTPRequest get(string url, string[string] headers)

Simplified version of fetch GET

patch
HTTPRequest patch(string url, string data, string[string] headers)

Simplified version of fetch PATCH

post
HTTPRequest post(string url, string data, string[string] headers)

Simplified version of fetch POST

put
HTTPRequest put(string url, string data, string[string] headers)

Simplified version of fetch PUT

Structs

Auth
struct Auth

Curl auth.

FetchConfig
struct FetchConfig

Full fetch configuration

Proxy
struct Proxy

Curl proxy. Must be init with this(host, port, type), otherwise not valid

Meta