Cargo Features

wrpc-interface-http has no features set by default.

[dependencies]
wrpc-interface-http = { version = "0.31.0", features = ["http", "http-body", "hyper", "wasmtime-wasi-http"] }
http http-body?

Enables http

Affects wrpc-interface-http::try_fields_to_header_map, wrpc-interface-http::try_header_map_to_fields

http-body hyper? wasmtime-wasi-http? = http

Enables http-body, http-body-util, and tokio-stream

Affects wrpc-interface-http::HttpBody, wrpc-interface-http::HttpBodyError, wrpc-interface-http::split_http_body, wrpc-interface-http::split_outgoing_http_body, wrpc-interface-http::try_http_to_request, wrpc-interface-http::try_http_to_response, wrpc-interface-http::InvokeIncomingHandler.invoke_handle_http, wrpc-interface-http::ServeHttp, wrpc-interface-http::ServeIncomingHandlerHttp, wrpc-interface-http::ServeOutgoingHandlerHttp

hyper = http-body

Enables hyper

wasmtime-wasi-http = http-body

Enables wasmtime-wasi-http

Affects wrpc-interface-http::try_wasmtime_to_outgoing_request, wrpc-interface-http::InvokeOutgoingHandler.invoke_handle_wasmtime, wrpc-interface-http::ServeWasmtime, wrpc-interface-http::ServeIncomingHandlerWasmtime