Skip to end of metadata
Go to start of metadata

Represents a native request for the Android platform.

Definition

public class NativeRequest : ExtendedRestRequest

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Public Properties

Account Gets or sets the account that will be authenticated for this request.

Public Methods

GetResponseAsync(CancellationToken) Gets the rest response.

Public Constructors

public NativeRequest(Uri uri, HttpMethod method, IAccount account, IDictionary<string, string> parameters)

Initializes a new instance of the NativeRequest class.

Parameters

uri The URI.
method The method.
account The account.
parameters The parameters.

Exceptions

NotSupportedException Social framework does not support the HTTP method ' + method + '

Public Properties

public IAccount Account { get; set; }

Gets or sets the account that will be authenticated for this request.

Public Methods

public Task<IRestResponse> GetResponseAsync(CancellationToken cancellationToken)

Gets the rest response.

Parameters

cancellationToken The cancellation token.
  • No labels