19 lines
574 B
Go
19 lines
574 B
Go
|
// 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
|
||
|
}
|