View Source Wayfarer.Target.Check (wayfarer v0.6.0)

A GenServer which represents a single check to an HTTP endpoint.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

@type state() :: %{
  conn: struct(),
  req: reference(),
  scheme: :http | :https | :ws | :wss,
  address: :inet.ip_address(),
  port: :socket.port_number(),
  uri: URI.t(),
  ref: any(),
  method: String.t(),
  headers: [{String.t(), String.t()}],
  hostname: String.t(),
  transport: :http1 | :http2 | :auto,
  span: map()
}

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.