Class HttpResponse
- Namespace
- Extism
- Assembly
- Extism.Pdk.dll
Response from an HTTP call
public class HttpResponse : IDisposable
- Inheritance
-
HttpResponse
- Implements
- Inherited Members
Constructors
HttpResponse(MemoryBlock, ushort)
public HttpResponse(MemoryBlock memory, ushort status)
Parameters
memory
MemoryBlockstatus
ushort
Properties
Body
Body of the HTTP response
public MemoryBlock Body { get; }
Property Value
Status
HTTP Status Code
public ushort Status { get; set; }
Property Value
Methods
Dispose()
Frees the current memory block.
public void Dispose()