Documentation
¶
Overview ¶
Generated by `wit-bindgen-wrpc-go` 0.9.1. DO NOT EDIT!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration = wasi__clocks__monotonic_clock.Duration
type ErrorCode ¶
type ErrorCode = WasiErrorCode
type Method ¶
type Method = WasiMethod
type Request ¶
type Request struct {
Body io.ReadCloser
Trailers wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]]
Method *wasi__http__types.Method
PathWithQuery *string
Scheme *Scheme
Authority *string
Headers []*wrpc.Tuple2[string, [][]uint8]
}
func (*Request) WriteToIndex ¶
func (v *Request) WriteToIndex(w wrpc.ByteWriter) (func(wrpc.IndexWriter) error, error)
type RequestOptions ¶
type RequestOptions struct {
ConnectTimeout *Duration
FirstByteTimeout *Duration
BetweenBytesTimeout *Duration
}
func (*RequestOptions) String ¶
func (v *RequestOptions) String() string
func (*RequestOptions) WriteToIndex ¶
func (v *RequestOptions) WriteToIndex(w wrpc.ByteWriter) (func(wrpc.IndexWriter) error, error)
type Response ¶
type Response struct {
Body io.ReadCloser
Trailers wrpc.Receiver[[]*wrpc.Tuple2[string, [][]uint8]]
Status uint16
Headers []*wrpc.Tuple2[string, [][]uint8]
}
func (*Response) WriteToIndex ¶
func (v *Response) WriteToIndex(w wrpc.ByteWriter) (func(wrpc.IndexWriter) error, error)
type Scheme ¶
type Scheme = WasiScheme
type WasiErrorCode ¶
type WasiErrorCode = wasi__http__types.ErrorCode
type WasiMethod ¶
type WasiMethod = wasi__http__types.Method
type WasiScheme ¶
type WasiScheme = wasi__http__types.Scheme
Click to show internal directories.
Click to hide internal directories.