Programming Search⌘K

std.http

The entries of std.http in the Zig reference. This page has 54 cards.

std.http.Method.cacheable

pub fn cacheable(m: Method) bool

A cacheable response can be stored to be retrieved and used later, saving a new request to the server. https://developer.mozilla.org/en-US/docs/Glossary/cacheable https://datatracker.ietf.org/doc/html/rfc7231#section-4.2.3.

Kind
function
Module
std.http

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.http.Reader.bodyReaderDecompressing

pub fn bodyReaderDecompressing(reader: *Reader, transfer_buffer: []u8, transfer_encoding: TransferEncoding, content_length: ?u64, content_encoding: ContentEncoding, decompress: *Decompress, decompress_buffer: []u8) *std.Io.Reader

If compressed body has been negotiated this will return decompressed bytes.

Kind
function
Module
std.http

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.