View Source Ravix.Documents.Protocols.CreateRequest protocol (ravix v0.0.3)

Protocol to define how commands are converted to requests

Link to this section Summary

Functions

Creates a request based on the command

Link to this section Types

Link to this section Functions

Link to this function

create_request(command, selected_node)

View Source
@spec create_request(t(), any()) :: any()

Creates a request based on the command

parameters

Parameters

  • command: the command who will be requested
  • selected_node: in which node will it be executed