bendonnect-rpc
Releases (1)
-
0.1.0.0 indexed
Definitions (710)
src/pbjson.bend
- def encode
- def parse.fin
- def parse
- def fields.go
- def fieldsThe entries of a JSON object, keys decoded.
- def read.map.entriesA map field's entries (keys as strings); null is an empty map.
- type JKeyOne accepted JSON key (json_name or proto_name) of a field and that field's number.
- def dispatchThe number of the field whose accepted key equals k, or 0 for an unknown key.
- def is_key
- def take.step
- def take.go
- def takeRemoves the field named json_name or proto_name and answers its value (Json.Null{} if absent, which every Pj.read.* maps to the default) beside the remaining entries.
- def lift.m
- def int32.fin
- def uint32.fin
- def parse.int32Decimal text (optionally negative) that fits int32 / uint32 / int64 / uint64.
- def parse.uint32
- def parse.int64
- def parse.uint64
- def parse.float
- def read.scalarnull -> dflt; number or string -> parse(text); anything else is an error.
- def read.int32
- def read.sint32
- def read.sfixed32
- def read.uint32
- def read.fixed32
- def read.int64
- def read.sint64
- def read.sfixed64
- def read.uint64
- def read.fixed64
- def read.float
- def read.double
- def read.bool
- def read.string
- def bytes.fin
- def read.bytesStandard or URL-safe base64, padded or not.
- def read.enumEnum by name (from_name = the generated E.from_name) or by number; null -> 0.
- def opt.some
- def read.optPresence-aware read for optional scalars, oneof members and singular messages: null/absent -> None, otherwise Some(read(v)).
- def rep.read
- def read.repeatednull -> []; array -> each element through read (for messages pass ~Msg.from_json).
- def read.repeated.double
- def read.repeated.float
- def read.repeated.int32
- def read.repeated.sint32
- def read.repeated.sfixed32
- def read.repeated.uint32
- def read.repeated.fixed32
- def read.repeated.int64
- def read.repeated.sint64
- def read.repeated.sfixed64
- def read.repeated.uint64
- def read.repeated.fixed64
- def read.repeated.bool
- def read.repeated.string
- def read.repeated.bytes
- def read.repeated.enum
- def read.key.int32map keys (JSON object keys are strings)
- def read.key.sint32
- def read.key.sfixed32
- def read.key.uint32
- def read.key.fixed32
- def read.key.int64
- def read.key.sint64
- def read.key.sfixed64
- def read.key.uint64
- def read.key.fixed64
- def read.key.bool
- def read.key.string
- def map.go
- def read.mapWhole map field in one call: keys via ~Pj.read.key.K, values via ~Pj.read.V (or ~Msg.from_json), entries built by mk (e.g.
src/protocol.bend
- type Codec
- type CallKind
- type Spec
- type Reject
- type CtA parsed Content-Type: stream = application/connect+<codec>.
- def supported_encodings
- def codec_name
- def content_type
- def unary_content_type
- def stream_content_type
- def codec_ofjson / proto / other (non-empty) -> Custom
- def media.of
- def mediatext before the first ';'
- def ct_make
- def ct_split
- def parse_content_type"application/json; charset=utf-8" -> Ct{False, Json}; case-insensitive; None if not application/*.
- def ct_stream
- def ct_codec
- def ct_kind
- def hdr.of
- def hdrFirst value of a (lowercase) header.
- def hdr_all.of
- def hdr_allAll values of a header joined with ",".
- def bad_media
- def content_type_of.fin
- def content_type_of.of
- def content_type_of
- def version_ok