http-wasm-guest 0.11.3

A Rust library for implementing HTTP-Wasm guest handlers.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Test fixture constants for mock FFI behaviors.

#[cfg(test)]
pub(crate) mod kinds {
    /// Mock kind: Returns empty buffers indefinitely without EOF
    pub(crate) const EMPTY_BODY_WITHOUT_EOF: i32 = 98;
    /// Mock kind: Returns full buffers indefinitely without EOF
    /// Used to test MAX_BODY_SIZE enforcement
    pub(crate) const OVERSIZED_BODY: i32 = 99;
}