Skip to main content

contains_chunked_transfer

Function contains_chunked_transfer 

Source
pub fn contains_chunked_transfer(value: &str) -> bool
Expand description

Returns whether a Transfer-Encoding header includes chunked.

§Parameters

§Returns

Returns true when the condition checked by crate::http::contains_chunked_transfer holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::contains_chunked_transfer.

§Examples

ⓘ
let _result = pharos_runtime_core::http::contains_chunked_transfer("value");
  • crate::http for adjacent helpers that share the same runtime surface.