Starship.Reactor.Conn.Method (Starship v0.0.1) View Source
The struct and type spec for HTTP Methods
Link to this section Summary
Types
HTTP Methods according to HTTP Standards.
A struct defining an HTTP Method and whether or not the method has a body.
Link to this section Types
Specs
method() :: :GET | :HEAD | :POST | :PUT | :DELETE | :CONNECT | :OPTIONS | :TRACE | :PATCH
HTTP Methods according to HTTP Standards.
Specs
A struct defining an HTTP Method and whether or not the method has a body.
By default, GET
, HEAD
, CONNECT
, OPTIONS
, and TRACE
methods have no body, while POST
, PUT
, DELETE
, and PATCH
methods have a body.