Метод | Описание | |
---|---|---|
CanSupport ( DirectWebRequestOptions options ) : bool |
Determines whether this instance can support the specified options.
|
|
GetRequestStream ( |
Prepares an HttpWebRequest that contains an POST entity for sending the entity. The caller should have set the HttpWebRequest.ContentLength and any other appropriate properties before calling this method. Callers must close and dispose of the request stream when they are done writing to it to avoid taking up the connection too long and causing long waits on subsequent requests. Implementations should catch WebException and wrap it in a ProtocolException to abstract away the transport and provide a single exception type for hosts to catch. |
|
GetRequestStream ( |
Prepares an HttpWebRequest that contains an POST entity for sending the entity. The caller should have set the HttpWebRequest.ContentLength and any other appropriate properties before calling this method. Callers must close and dispose of the request stream when they are done writing to it to avoid taking up the connection too long and causing long waits on subsequent requests. Implementations should catch WebException and wrap it in a ProtocolException to abstract away the transport and provide a single exception type for hosts to catch. |
|
GetResponse ( |
Processes an HttpWebRequest and converts the HttpWebResponse to a IncomingWebResponse instance. Implementations should catch WebException and wrap it in a ProtocolException to abstract away the transport and provide a single exception type for hosts to catch. The WebException.Response value, if set, should be Closed before throwing. |
|
GetResponse ( |
Processes an HttpWebRequest and converts the HttpWebResponse to a IncomingWebResponse instance. Implementations should catch WebException and wrap it in a ProtocolException to abstract away the transport and provide a single exception type for hosts to catch. The WebException.Response value, if set, should be Closed before throwing. |
Метод | Описание | |
---|---|---|
WrappingWebRequestHandler ( IDirectWebRequestHandler wrappedHandler, Action |
Initializes a new instance of the WrappingWebRequestHandler class.
|
public CanSupport ( DirectWebRequestOptions options ) : bool | ||
options | DirectWebRequestOptions | The set of options that might be given in a subsequent web request. |
Результат | bool |
public GetRequestStream ( |
||
request | The |
|
Результат | Stream |
public GetRequestStream ( |
||
request | The |
|
options | DirectWebRequestOptions | The options to apply to this web request. |
Результат | Stream |
public GetResponse ( |
||
request | The |
|
Результат | DotNetOpenAuth.Messaging.IncomingWebResponse |
public GetResponse ( |
||
request | The |
|
options | DirectWebRequestOptions | The options to apply to this web request. |
Результат | DotNetOpenAuth.Messaging.IncomingWebResponse |