Table of Contents

Class UrlWasmSource

Namespace
Extism.Sdk
Assembly
Extism.Sdk.dll

Wasm Source represented by a file referenced by a path.

public class UrlWasmSource : WasmSource
Inheritance
UrlWasmSource
Inherited Members

Constructors

UrlWasmSource(string, string?, string?)

Constructor

public UrlWasmSource(string url, string? name = null, string? hash = null)

Parameters

url string

uri to wasm plugin.

name string
hash string

UrlWasmSource(Uri, string?, string?)

Constructor

public UrlWasmSource(Uri url, string? name = null, string? hash = null)

Parameters

url Uri

uri to wasm plugin.

name string
hash string

Properties

Headers

HTTP headers

[JsonPropertyName("headers")]
public Dictionary<string, string> Headers { get; set; }

Property Value

Dictionary<string, string>

Method

HTTP Method

[JsonPropertyName("method")]
public HttpMethod? Method { get; set; }

Property Value

HttpMethod?

Url

Uri to wasm plugin.

[JsonPropertyName("url")]
public Uri Url { get; set; }

Property Value

Uri