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
Method
HTTP method
public HttpMethod Method { get; set; }
Property Value
Url
HTTP URL
public Uri Url { get; set; }