Table of Contents

Class MemoryOptions

Namespace
Extism.Sdk
Assembly
Extism.Sdk.dll

Configures memory for the Wasm runtime. Memory is described in units of pages (64KB) and represent contiguous chunks of addressable memory.

public class MemoryOptions
Inheritance
MemoryOptions
Inherited Members

Properties

MaxHttpResponseBytes

Max number of bytes allowed in an HTTP response when using extism_http_request.

[JsonPropertyName("max_http_response_bytes")]
public int MaxHttpResponseBytes { get; set; }

Property Value

int

MaxPages

Max number of pages. Each page is 64KB.

[JsonPropertyName("max_pages")]
public int MaxPages { get; set; }

Property Value

int

MaxVarBytes

Max number of bytes allowed in the Extism var store

[JsonPropertyName("max_var_bytes")]
public int MaxVarBytes { get; set; }

Property Value

int