Show / Hide Table of Contents

Class HttpMessageExtensions

Extensions for http request messages

Inheritance
System.Object
HttpMessageExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Graph.CoreSDK.Transport
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public static class HttpMessageExtensions

Methods

View Source

ConvertToGraphRequestAsync(HttpRequestMessage)

Converts to callback request.

Declaration
public static Task<IGraphRequest> ConvertToGraphRequestAsync(this HttpRequestMessage request)
Parameters
Type Name Description
System.Net.Http.HttpRequestMessage request

The request.

Returns
Type Description
System.Threading.Tasks.Task<IGraphRequest>

The callback request object

View Source

ConvertToHttpResponseMessage(IGraphResponse)

Converts to HTTP response message.

Declaration
public static HttpResponseMessage ConvertToHttpResponseMessage(this IGraphResponse response)
Parameters
Type Name Description
IGraphResponse response

The response.

Returns
Type Description
System.Net.Http.HttpResponseMessage

The http response message

  • View Source
Back to top Generated by DocFX