exrequester v0.0.1 EXRequest.ParamsChecker
Checks that the function name and params are correct for the definition and invocation
Summary
Functions
Checks that the function defined with the parameters is correctly defined for the URL and Header keys
Checks that the function invocation with the parameters is correctly defined for the URL and Header keys
Checks that the url, header_keys and function parameters match
Get an error string for missing and extra params
Get the proposed method definition
Get the proposed method definition
Get url parametrs from a url
Functions
Checks that the function defined with the parameters is correctly defined for the URL and Header keys
Parameters:
function_name
- The function name usedfunction_params
- The function parameters used in definitionurl
- The url used to define the functionheader_keys
- The headers used to define the function
Checks that the function invocation with the parameters is correctly defined for the URL and Header keys
Parameters:
function_name
- The function name usedfunction_params
- The function parameters used in invocationurl
- The url used to invoke the functionheader_keys
- The headers used to invoke the function
Checks that the url, header_keys and function parameters match
Parameters:
url
- The url used to invoke the functionheader_params
- The headers used to invoke the functionparams
- The function parameters used in invocation
Get an error string for missing and extra params
Parameters:
missing
- The missing parameters in the definitionextra
- The extra parameters in the definition
Get the proposed method definition
Parameters:
func_name
- The function name usedparams
- The parameters used in the function
Get the proposed method definition
Parameters:
func_name
- The function name usedparams
- The parameters used in the function