Interface IHttpRequestFactory<TRequestContent>
The interface for a HTTP request factory.
public interface IHttpRequestFactory<TRequestContent> : IDisposable
Type Parameters
TRequestContentThe 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
requestUriUriThe request URI.
Returns
- IHttpRequest<TRequestContent>
An HTTP request.