Show / Hide Table of Contents

Class HttpExtenstions

Extension methods to System.Net.Http.HttpRequestMessage and System.Net.Http.HttpResponseMessage.

Inheritance
System.Object
HttpExtenstions
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: Google.Apis.Http
Assembly: Google.Apis.Core.dll
Syntax
public static class HttpExtenstions

Methods

SetEmptyContent(HttpRequestMessage)

A Google.Apis utility method for setting an empty HTTP content.

Declaration
public static HttpContent SetEmptyContent(this HttpRequestMessage request)
Parameters
Type Name Description
System.Net.Http.HttpRequestMessage request
Returns
Type Description
System.Net.Http.HttpContent
Back to top