Table of Contents

Class HttpRequest

Namespace
Extism
Assembly
Extism.Pdk.dll

An HTTP request

public class HttpRequest
Inheritance
HttpRequest
Inherited Members

Constructors

HttpRequest(string)

public HttpRequest(string url)

Parameters

url string

HttpRequest(Uri)

public HttpRequest(Uri url)

Parameters

url Uri

Properties

Body

An optional body.

public byte[] Body { get; set; }

Property Value

byte[]

Headers

HTTP Headers

public Dictionary<string, string> Headers { get; }

Property Value

Dictionary<string, string>

Method

HTTP method

public HttpMethod Method { get; set; }

Property Value

HttpMethod

Url

HTTP URL

public Uri Url { get; set; }

Property Value

Uri