Split.RPC.ResponseParser (split v0.0.0)
Contains the functions to parse the response from the Splitd RPC calls.
Summary
Functions
Parses the response from the Splitd RPC calls.
Types
Link to this type
splitd_response()
Functions
Link to this function
parse_response(response, original_request, opts \\ [])
@spec parse_response(response :: splitd_response(), request :: Split.RPC.Message.t(), span_context: reference(), span_context: nil ) :: :ok | {:ok, map() | list() | Split.Treatment.t() | Split.t() | nil} | {:error, term()} | :error
Parses the response from the Splitd RPC calls.