Edit

Share via


XboxLiveHttpCall Class

Definition

Defines methods used to retrieve objects that in turn provide access to different Xbox Live service components.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.Xbox.Services.__IXboxLiveHttpCallStatics), 1)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class XboxLiveHttpCall
type XboxLiveHttpCall = class
    interface __IXboxLiveHttpCallPublicNonVirtuals
Public NotInheritable Class XboxLiveHttpCall
Inheritance
XboxLiveHttpCall
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.StaticAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

ContentTypeHeaderValue

Get if retry is allowed during this call.

ContractVersionHeaderValue

Sets the content type header value for this call.

HttpMethod

Gets the http method for this call.

PathQueryFragment

Gets the path for this call.

RetryAllowed

Sets if retry is allowed during this call.

ServerName

Gets the server name for this call.

Methods

CreateXboxLiveHttpCall(XboxLiveContextSettings, String, String, String)
GetResponseWithAuth(XboxLiveUser, HttpCallResponseBodyType)

Attach the Xbox Live token, sign the request, send the request to the service, and return the response.

GetResponseWithoutAuth(HttpCallResponseBodyType)

Send the request to the service, and return the response without an Xbox Live token

SetCustomHeader(String, String)

Sets a custom header.

SetRequestBody(String)

Sets the request body using a string.

SetRequestBodyArray(Byte[])

Sets the request body using a byte array value.

Applies to