shippo v0.1.0 Shippo.Request View Source
Helper functions for building the url, headers and body of a request.
Link to this section Summary
Functions
Returns a binary representing the request body.
Returns a list of tuples representing the request headers.
Returns a binary representing the request URL.
Link to this section Functions
Link to this function
body(configuration, operation)
View Sourcebody( configuration :: Shippo.Configuration.t(), operation :: Shippo.Operation.t() ) :: binary()
Returns a binary representing the request body.
Link to this function
headers(configuration)
View Sourceheaders(configuration :: Shippo.Configuration.t()) :: [tuple()]
Returns a list of tuples representing the request headers.
Link to this function
url(configuration, operation)
View Sourceurl( configuration :: Shippo.Configuration.t(), operation :: Shippo.Operation.t() ) :: binary()
Returns a binary representing the request URL.