Creates a new AutoWebServiceRequest.
protected AutoWebServiceRequest<TResponse> CreateRequest<TResponse>()
parameter | description |
---|---|
TResponse | The type of the response. |
The new AutoWebServiceRequest.
Creates a new AutoWebServiceRequest using the specified relative URI.
protected AutoWebServiceRequest<TResponse> CreateRequest<TResponse>(string relativeUri)
parameter | description |
---|---|
TResponse | The type of the response. |
relativeUri | The relative URI. |
The new AutoWebServiceRequest.
Creates a new AutoWebServiceRequest using the specified relative URI pattern and parameters.
protected AutoWebServiceRequest<TResponse> CreateRequest<TResponse>(string relativeUriPattern,
IEnumerable<KeyValuePair<string, object?>> uriParameters)
parameter | description |
---|---|
TResponse | The type of the response. |
relativeUriPattern | The relative URI pattern. |
uriParameters | The URI parameters. |
The new AutoWebServiceRequest.
See UriUtility.FromPattern for acceptable parameter values.
Creates a new AutoWebServiceRequest using the specified relative URI pattern and parameters.
protected AutoWebServiceRequest<TResponse> CreateRequest<TResponse>(string relativeUriPattern,
params string[] parameters)
parameter | description |
---|---|
TResponse | The type of the response. |
relativeUriPattern | The relative URI pattern. |
parameters | The URI parameters. |
The new AutoWebServiceRequest.
Each pair of parameters represents a key and a value. See UriUtility.FromPattern for acceptable parameter values.