Share via


HttpRequestData Class

Definition

HTTPGet specifies the http request to perform.

public class HttpRequestData
type HttpRequestData = class
Public Class HttpRequestData
Inheritance
HttpRequestData

Constructors

HttpRequestData(Int32)

Initializes a new instance of HttpRequestData.

Properties

Host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

HttpHeaders

Custom headers to set in the request. HTTP allows repeated headers.

Path

Path to access on the HTTP server.

Port

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

Scheme

Scheme to use for connecting to the host. Defaults to HTTP.

Applies to