View Source Ravix.Documents.Commands.RavenCommand (ravix v0.10.0)

Macro to define the basic required fields for a RavenCommand

Fields

  • url: Where the command will be executed
  • method: HTTP Method
  • data: The json body payload
  • headers: HTTP headers to send to Raven
  • is_stream: If the request should be streamed
  • is_read_request: If this request is read_only

Summary

Functions

Link to this macro

command_type(fields)

View Source (macro)