tiny.http.StreamHandler
Defined in tiny.http.
API (4)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/http/src/client/stream/model.zig:77
zig
pub const Handler = struct { ctx: *anyopaque, vtable: *const HandlerVTable, pub fn head(self: Handler, status: u16, headers: []const Header) !void { return self.vtable.onHead(self.ctx, status, headers); } pub fn emit(self: Handler, chunk: []const u8) !void { return self.vtable.onChunk(self.ctx, chunk); }};Source: lib/http/src/root.zig:112
zig
pub const StreamHandler = client.StreamHandler;Audit
| Definitions | 3 |
|---|---|
| Public names | 3 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |