Express v1.3.3 Express.Network.HTTP2.SSLConfig behaviour View Source

Specifies a behaviour and SSL configuration structure, where:

  • mode - either :dev or :prod
  • cert - SSL certificate
  • key - RSA key

Link to this section Summary

Callbacks

SSL-configuration constructor (for provided arguments)

Link to this section Types

Link to this type t() View Source
t() :: %Express.Network.HTTP2.SSLConfig{cert: binary, key: binary, mode: atom | String.t}

Link to this section Callbacks

SSL-configuration constructor (for provided arguments).