Table of Contents

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 MemoryBlock
status ushort

Properties

Body

Body of the HTTP response

public MemoryBlock Body { get; }

Property Value

MemoryBlock

Status

HTTP Status Code

public ushort Status { get; set; }

Property Value

ushort

Methods

Dispose()

Frees the current memory block.

public void Dispose()