struct RespondStreamingOptions [src]

Fields

content_length: ?u64 = nullIf provided, the response will use the content-length header; otherwise it will use transfer-encoding: chunked.
respond_options: RespondOptions = .{}Options that are shared with the respond method.

Source

pub const RespondStreamingOptions = struct { /// If provided, the response will use the content-length header; /// otherwise it will use transfer-encoding: chunked. content_length: ?u64 = null, /// Options that are shared with the `respond` method. respond_options: RespondOptions = .{}, }