- customMethod
RequestRouter customMethod(string path)
RequestRouter customMethod(URL url)
Send a custom method request
- delete_
RequestRouter delete_(string path)
- end
void end(T callback)
Undocumented in source. Be warned that the author may not have intended to support it.
- end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
- expectHeader
RequestRouter expectHeader(string name, string value, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- expectHeaderContains
RequestRouter expectHeaderContains(string name, string value, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- expectHeaderExist
RequestRouter expectHeaderExist(string name, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- expectStatusCode
RequestRouter expectStatusCode(int code, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
RequestRouter get(string path)
- header
RequestRouter header(string name, string value)
Add a header to the server request
- patch
RequestRouter patch(string path)
- post
RequestRouter post(string path)
- put
RequestRouter put(string path)
- send
RequestRouter send(string[string] data)
Send a stringstring to the server as x-www-form-urlencoded data
- send
RequestRouter send(T data)
Send data to the server. You can send strings, Json or any other object
which will be serialized to Json