BlackBerry Dynamics for Xamarin Forms  7.0.0.22
Runtime library for Xamarin Forms applications
BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient Interface Reference

Sends HTTP requests and receives HTTP responses from a resource identified by URL. More...

Public Member Functions

Task< IBBDHttpResponseMessageGetAsync (string url)
 Sends an HTTP GET request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageGetAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP GET request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePostAsync (string url)
 Sends an HTTP POST request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePostAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP POST request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageDeleteAsync (string url)
 Sends an HTTP DELETE request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageDeleteAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP DELETE request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePutAsync (string url)
 Sends an HTTP PUT request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePutAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP PUT request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePatchAsync (string url)
 Sends an HTTP PATCH request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessagePatchAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP PATCH request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageTraceAsync (string url)
 Sends an HTTP TRACE request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageTraceAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP TRACE request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageHeadAsync (string url)
 Sends an HTTP HEAD request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageHeadAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP HEAD request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageOptionsAsync (string url)
 Sends an HTTP OPTIONS request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageOptionsAsync (string url, IBBDHttpProtocolFilter filter)
 Sends an HTTP OPTIONS request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageSendAsync (IBBDHttpRequestMessage request)
 Sends an HTTP request as an asynchronous operation. More...
 
Task< IBBDHttpResponseMessageSendAsync (IBBDHttpRequestMessage request, IBBDHttpProtocolFilter filter)
 Sends an HTTP request as an asynchronous operation. More...
 
Task< bool > AbortAsync (IBBDHttpRequestMessage request)
 Aborts the request. More...
 

Detailed Description

Sends HTTP requests and receives HTTP responses from a resource identified by URL.

Member Function Documentation

Task<bool> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.AbortAsync ( IBBDHttpRequestMessage  request)

Aborts the request.

Returns
true, if request was aborted, false otherwise.
Parameters
requestBBD HTTP request.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.DeleteAsync ( string  url)

Sends an HTTP DELETE request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.DeleteAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP DELETE request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.GetAsync ( string  url)

Sends an HTTP GET request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.GetAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP GET request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.HeadAsync ( string  url)

Sends an HTTP HEAD request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.HeadAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP HEAD request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.OptionsAsync ( string  url)

Sends an HTTP OPTIONS request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.OptionsAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP OPTIONS request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PatchAsync ( string  url)

Sends an HTTP PATCH request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PatchAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP PATCH request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PostAsync ( string  url)

Sends an HTTP POST request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PostAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP POST request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PutAsync ( string  url)

Sends an HTTP PUT request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.PutAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP PUT request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.SendAsync ( IBBDHttpRequestMessage  request)

Sends an HTTP request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
requestThe HTTP request message to send.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.SendAsync ( IBBDHttpRequestMessage  request,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
requestThe HTTP request message to send.
filterThe HTTP protocol filter.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.TraceAsync ( string  url)

Sends an HTTP TRACE request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
Task<IBBDHttpResponseMessage> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDHttpClient.TraceAsync ( string  url,
IBBDHttpProtocolFilter  filter 
)

Sends an HTTP TRACE request as an asynchronous operation.

Returns
The HTTP response message.
Parameters
urlEncoded Uniform Resource Locator(URL) that will be requested.
filterThe HTTP protocol filter.