Click or drag to resize
GDHttpProtocolFilter Class
GDHttpProtocolFilter takes a HTTP request message and produces a HTTP response message using secure BlackBerry Dynamics communication protocols.
Inheritance Hierarchy
SystemObject
  GDGDHttpProtocolFilter

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public sealed class GDHttpProtocolFilter : IClosable, 
	IHttpFilter

The GDHttpProtocolFilter type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleGDHttpProtocolFilter
Creates a new instance of GDHttpProtocolFilter to be used with HttpClient.SendRequestAsync(HttpRequestMessage).
Top
Properties
  NameDescription
Public propertyDisableHostVerification
Controls Host Certificate Validation.
Public propertyDisablePeerVerification
Controls Peer Certificate Validation.
Public propertyProxyPort
Sets Proxy port number for requests.
Public propertyProxyUrl
Sets Proxy server URI for requests.
Public propertyUseProxy
Controls if request should be sent throught proxy server.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodSendRequestAsync
Send a HTTP request using the GDHttpProtocolFilter as an asynchronous operation.
Public methodToString (Inherited from Object.)
Top
Remarks
To send a request with authorization data please fill HttpRequestMessage.Headers.Authorization. To clear authorization data cached by BlackBerry Dynamics dispose GDHttpProtocolFilter and call GDCacheController.ClearCredentialsForMethod.
See Also

Reference