ParameterEncoding
public protocol ParameterEncoding
Protocol that all URLRequest paramter encoders conform to
-
Encode a request with parameters
- Parameters:
- request: The request to modify
- parameters: The parameters to appy to the request
Declaration
Swift
func encode(_ request: URLRequest, parameters: Parameters) throws -> URLRequestParameters
requestThe request to modify
parametersThe parameters to appy to the request
- Parameters:
View on GitHub
Install in Dash
ParameterEncoding Protocol Reference