struct Headers [src]
Fields
host: Value = .default
authorization: Value = .default
user_agent: Value = .default
connection: Value = .default
accept_encoding: Value = .default
content_type: Value = .default
Members
- Value (union)
Source
pub const Headers = struct {
host: Value = .default,
authorization: Value = .default,
user_agent: Value = .default,
connection: Value = .default,
accept_encoding: Value = .default,
content_type: Value = .default,
pub const Value = union(enum) {
default,
omit,
override: []const u8,
};
}