wasm-nats-producer-client/gen/wasi/http/incoming-handler/incominghandler.wasm.go

19 lines
574 B
Go
Raw Normal View History

2024-12-16 19:34:52 +00:00
// Code generated by wit-bindgen-go. DO NOT EDIT.
package incominghandler
import (
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// This file contains wasmimport and wasmexport declarations for "wasi:http@0.2.0".
//go:wasmexport wasi:http/incoming-handler@0.2.0#handle
//export wasi:http/incoming-handler@0.2.0#handle
func wasmexport_Handle(request0 uint32, responseOut0 uint32) {
request := cm.Reinterpret[IncomingRequest]((uint32)(request0))
responseOut := cm.Reinterpret[ResponseOutparam]((uint32)(responseOut0))
Exports.Handle(request, responseOut)
return
}