XRPC.HTTP behaviour (xrpc v0.1.0)

XRPC.HTTP behaviour definition

Link to this section Summary

Link to this section Callbacks

Link to this callback

get(binary, keyword)

@callback get(
  binary(),
  keyword()
) :: {:ok, map()} | {:error, map()}
Link to this callback

post(binary, keyword)

@callback post(
  binary(),
  keyword()
) :: {:ok, map()} | {:error, map()}