Wayfarer.Dsl.Listener (wayfarer v0.6.4)

View Source

A struct for storing a listener generated by the DSL.

Summary

Types

t()

@type t() :: %Wayfarer.Dsl.Listener{
  __spark_metadata__: term(),
  address: IP.Address.t(),
  certfile: nil | String.t(),
  cipher_suite: nil | :strong | :compatible,
  http_1_options: Bandit.http_1_options(),
  http_2_options: Bandit.http_2_options(),
  keyfile: nil | String.t(),
  name: nil | String.t(),
  port: :inet.port_number(),
  scheme: :http | :https,
  thousand_island_options: ThousandIsland.options(),
  uri: URI.t(),
  websocket_options: Bandit.websocket_options()
}