HttpCommand
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "lcb_http_cmd_t" , destroy_function = "" , has_copy_function = false ) ]
public struct HttpCommand
Content:
Fields:
- public int version
- public uint8[] path
A view path string with optional query params (e.g. skip, limit etc.)
- public uint8[] body
The POST body for HTTP request
- public HttpMethod method
HTTP message type to be sent to server
- public int chunked
If true the client will use HttpDataCallback to notify about response and
will call HttpComplete with empty data eventually.
- public string content_type
The 'Content-Type' header for request. For view requests it is usually
"application/json", for management -- "application/x-www-form-urlencoded".