HttpRequestInfo Class

Definition

Describes an HTTP request to be sent by an IHttpRequestHandler.

public sealed class HttpRequestInfo
type HttpRequestInfo = class
Public NotInheritable Class HttpRequestInfo
Inheritance
HttpRequestInfo

Constructors

Name Description
HttpRequestInfo()

Properties

Name Description
Body

Gets the serialized request body, or null if no body is sent.

BodyContentType

Gets the Content-Type of the request body, or null if no body is sent.

ConnectionName

Gets the name of the declared remote connection, or null if no connection is declared. This maps to the Foundry project connection Id and is only used when running in foundry service.

Headers

Gets the headers to include on the request, excluding the Content-Type header (which is supplied via BodyContentType).

Method

Gets the HTTP method to use (GET, POST, PUT, PATCH, DELETE).

QueryParameters

Gets the query parameters to append to the request URL, with values already formatted as strings.

Timeout

Gets the maximum amount of time to wait for the request to complete, or null to use the handler default.

Url

Gets the absolute URL to send the request to.

Applies to