Class HttpExtenstions (1.60.0)

public static class HttpExtenstions

Extension methods to HttpRequestMessage and HttpResponseMessage.

Inheritance

object > HttpExtenstions

Namespace

GoogleApisHttp

Assembly

Google.Apis.Core.dll

Methods

SetEmptyContent(HttpRequestMessage)

public static HttpContent SetEmptyContent(this HttpRequestMessage request)

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

Parameter
Name Description
request HttpRequestMessage
Returns
Type Description
System.Net.Http.HttpContent