http

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtismHTTPHeaders

func ExtismHTTPHeaders() memory.ExtismPointer

extismHTTPHeaders returns the response headers for the last-sent `extism_http_request` call.

func ExtismHTTPRequest

func ExtismHTTPRequest(request, body memory.ExtismPointer) memory.ExtismPointer

extismHTTPRequest sends the HTTP `request` to the Extism host with the provided `body` (0 means no body) and returns back the memory offset to the response body.

func ExtismHTTPStatusCode

func ExtismHTTPStatusCode() int32

extismHTTPStatusCode returns the status code for the last-sent `extism_http_request` call.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL