Show / Hide Table of Contents

Class RosterHttpRequestMessage

This clones a HttpRequestMessage object without it being IDisposable.

Inheritance
object
RosterHttpRequestMessage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.SQTech.Roster.Client
Assembly: Microsoft.XboxStudios.SQTech.Roster.Client.Common.dll
Syntax
public class RosterHttpRequestMessage

Constructors

View Source

RosterHttpRequestMessage(HttpRequestMessage, string?)

Initializes a new instance of the RosterHttpRequestMessage class.

Declaration
public RosterHttpRequestMessage(HttpRequestMessage requestMessage, string? content)
Parameters
Type Name Description
HttpRequestMessage requestMessage

See HttpRequestMessage.

string content

Content sent in the request.

Fields

View Source

Empty

Empty RosterHttpRequestMessage.

Declaration
public static readonly RosterHttpRequestMessage Empty
Field Value
Type Description
RosterHttpRequestMessage

Properties

View Source

Content

Gets the request content as a string.

Declaration
public string? Content { get; }
Property Value
Type Description
string
View Source

Headers

Gets the request headers.

Declaration
public HttpRequestHeaders? Headers { get; }
Property Value
Type Description
HttpRequestHeaders
View Source

Method

Gets the HTTP method used in the request.

Declaration
public HttpMethod Method { get; }
Property Value
Type Description
HttpMethod
View Source

Properties

Gets a set of properties from the request.

Declaration
public IDictionary<string, object?> Properties { get; }
Property Value
Type Description
IDictionary<string, object>
View Source

RequestUri

Gets the request Uri.

Declaration
public Uri RequestUri { get; }
Property Value
Type Description
Uri
View Source

Version

Gets the HTTP version used in the request.

Declaration
public Version Version { get; }
Property Value
Type Description
Version
  • View Source
In this article
Back to top Generated by DocFX