BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter Interface Reference

Represents an HTTP protocol filter. More...

Properties

int Timeout [get, set]
 Length of time out in milliseconds, or 0 (zero) for never. More...
 
bool DisableHostVerification [get, set]
 Switches off host name verification, when making an HTTPS request. More...
 
bool DisablePeerVerification [get, set]
 Switches off certificate authenticity verification, when making an HTTPS request. More...
 
bool DisableFollowLocation [get, set]
 Disable automatic following of redirections. More...
 
IList< KeyValuePair< string, string > > RequestHeaders [get, set]
 Gets or sets the collection of the HTTP request headers. More...
 
IBBDHttpContent Content [get, set]
 Gets or sets the HTTP content to send to the server. More...
 
IBBDParameterizedHttpRequestConfig ParameterizedRequestConfig [get, set]
 Gets or sets the post/put/patch request config associated with the IBBDHttpRequestMessage. More...
 
IBBDAuthHttpRequestConfig AuthHttpRequestConfig [get, set]
 Gets or sets the BBD authentication http request config. More...
 
IBBDProxyHttpRequestConfig ProxyHttpRequestConfig [get, set]
 Gets or sets the BBD proxy http request config. More...
 

Detailed Description

Represents an HTTP protocol filter.

Property Documentation

◆ AuthHttpRequestConfig

IBBDAuthHttpRequestConfig BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.AuthHttpRequestConfig
getset

Gets or sets the BBD authentication http request config.

◆ Content

IBBDHttpContent BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.Content
getset

Gets or sets the HTTP content to send to the server.

This parameter is taken into account for methods like POST, PUT, PATCH.

Please remember to set proper Content-Type in RequestHeaders parameter.

◆ DisableFollowLocation

bool BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.DisableFollowLocation
getset

Disable automatic following of redirections.

When automatic following is disabled, the application must handle redirection itself.

◆ DisableHostVerification

bool BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.DisableHostVerification
getset

Switches off host name verification, when making an HTTPS request.

Host name verification is an SSL/TLS security option.

Switching off host name verification doesn't switch off authenticity verification.

  • iOS: Host name verification can't be switched on for given URL (even for different instance of this class) after it has been switched off. To make a request with host name verification switched on for given URL the app needs to be restarted.
  • Android: Host name verification can be switched on for given URL after it has been switched off.

true if disable host verification; otherwise, false.

◆ DisablePeerVerification

bool BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.DisablePeerVerification
getset

Switches off certificate authenticity verification, when making an HTTPS request.

Authenticity verification is an SSL/TLS security option.

Switching off authenticity verification implicitly also switches off host name verification.

  • iOS: Authenticity verification can't be switched on for given URL (even for different instance of this class) after it has been switched off. To make a request with authenticity verification switched on for given URL the app needs to be restarted.
  • Android: Authenticity verification can be switched on for given URL after it has been switched off.

true if disable peer verification; otherwise, false.

◆ ParameterizedRequestConfig

IBBDParameterizedHttpRequestConfig BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.ParameterizedRequestConfig
getset

Gets or sets the post/put/patch request config associated with the IBBDHttpRequestMessage.

This parameter is taken into account only if Content parameter is not set or null.

◆ ProxyHttpRequestConfig

IBBDProxyHttpRequestConfig BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.ProxyHttpRequestConfig
getset

Gets or sets the BBD proxy http request config.

◆ RequestHeaders

IList<KeyValuePair<string, string> > BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.RequestHeaders
getset

Gets or sets the collection of the HTTP request headers.

◆ Timeout

int BBDXamarinForms.Common.Interfaces.Networking.Http.Request.IBBDHttpProtocolFilter.Timeout
getset

Length of time out in milliseconds, or 0 (zero) for never.

A negative timeout number will allow this request to use the default timeout value (60000 milliseconds).