View Source Ravix.Documents.Commands.RavenCommand (ravix v0.1.0)
Macro to define the basic required fields for a RavenCommand
fields
Fields
- url: Where the command will be executed
- method: HTTP Method
- data: The json body payload
- headers: HTTP headers to send to Raven
- is_read_request: If this request is read_only
- use_stream: If the request will use HTTP/2 stream
- timeout: Timeout for this command in ms
- files: Files to attach
- is_raft_request: If the request will be executed using Rachi Consensus
- raft_unique_request_id: The rachi consensus id for this request