xproxywasm020

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AbiV2 = "proxy_abi_mosn_version_0_2_0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exports

type Exports interface {
	proxywasm.Exports

	// x-protocol
	ProxyDecodeBufferBytes(contextId int32, buf types.IoBuffer) error
	ProxyEncodeRequestBufferBytes(contextId int32, cmd api.XFrame) error
	ProxyEncodeResponseBufferBytes(contextId int32, cmd api.XRespFrame) error

	// x-protocol keepalive
	ProxyKeepAliveBufferBytes(contextId int32, id uint64) error
	ProxyReplyKeepAliveBufferBytes(contextId int32, cmd api.XFrame) error
	ProxyHijackBufferBytes(contextId int32, cmd api.XFrame, statusCode uint32) error
}

Jump to

Keyboard shortcuts

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