Interface IHttpRequestFactory<TRequestContent>
The interface for a HTTP request factory.
public interface IHttpRequestFactory<TRequestContent> : IDisposable
Type Parameters
TRequestContent
The type used by the underlying HTTP API to represent the request body.
- Inherited Members
Methods
CreateHttpRequest(Uri)
Creates an HTTP request for the given URI.
IHttpRequest<TRequestContent> CreateHttpRequest(Uri requestUri)
Parameters
requestUri
UriThe request URI.
Returns
- IHttpRequest<TRequestContent>
An HTTP request.