Surgex v2.10.0 Surgex.RPC.HTTPAdapter

Transports RPC calls through HTTP requests protected with a secret header.

Usage

In order to use this adapter in you client, use the following code:

defmodule ShedulAPI.CoreRPC do
  use Surgex.RPC.Client

  transport :http,
    url: "https://app.example.com/rpc",
    secret: "my-rpc-secret"

  # ...
end