Apigee Connect v1 API - Class HttpRequest (2.2.0)

public sealed class HttpRequest : IMessage<HttpRequest>, IEquatable<HttpRequest>, IDeepCloneable<HttpRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Apigee Connect v1 API class HttpRequest.

The proto definition of http request.

Inheritance

object > HttpRequest

Namespace

Google.Cloud.ApigeeConnect.V1

Assembly

Google.Cloud.ApigeeConnect.V1.dll

Constructors

HttpRequest()

public HttpRequest()

HttpRequest(HttpRequest)

public HttpRequest(HttpRequest other)
Parameter
NameDescription
otherHttpRequest

Properties

Body

public ByteString Body { get; set; }

HTTP request body.

Property Value
TypeDescription
ByteString

Headers

public RepeatedField<Header> Headers { get; }

The HTTP request headers.

Property Value
TypeDescription
RepeatedFieldHeader

Id

public string Id { get; set; }

A unique identifier for the request.

Property Value
TypeDescription
string

Method

public string Method { get; set; }

The HTTP request method. Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE".

Property Value
TypeDescription
string

Url

public Url Url { get; set; }

The HTTP request URL.

Property Value
TypeDescription
Url