MessageExtensionMethods Class

Definition

A static extension methods class for getting either an HttpRequestMessage or HttpResponseMessage instance from a Message instance.

public static class MessageExtensionMethods
Inheritance
MessageExtensionMethods

Methods

ToHttpRequestMessage(Message)

Creates a HttpRequestMessage instance from an Message instance.

ToHttpResponseMessage(Message)

Creates a HttpResponseMessage instance from an Message instance.

Applies to

Produkt Versjoner
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1