exrequester v0.0.1 EXRequester.Request
Structure that holds a request
Summary
Functions
Adds a base url to the request
Adds body to the request
Adds headers key to the request
Adds query keys to the request
Return a new request
Return prepared header keyword list
Return a prepared query string
Return a prepared url
Functions
Adds a base url to the request
Parameters:
request
- request to updatebase_url
- base url to add
Adds body to the request
Parameters:
request
- request to updatebody
- body to add
Adds headers key to the request
Parameters:
request
- request to updateheaders_keys
- header keys to format
Adds query keys to the request
Parameters:
request
- request to updatequery_keys
- query keys to add
Return prepared header keyword list
Parameters:
request
- the requestheader_params
- the header parametrs to update with the keys
Return a prepared query string
Parameters:
request
- the requestparams
- the parameters to use to create the query string