Wire class

Frame type bytes and gRPC status codes (SPEC.md).

Constructors

Wire()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

isFrameType(int value) → bool
True when value is a known frame type.
statusName(int code) → String
Canonical status name (CODE_N for unknown codes).

Constants

codeAborted → const int
codeAlreadyExists → const int
codeCancelled → const int
codeDataLoss → const int
codeDeadlineExceeded → const int
codeFailedPrecondition → const int
codeInternal → const int
codeInvalidArgument → const int
codeNotFound → const int
codeOk → const int
codeOutOfRange → const int
codePermissionDenied → const int
codeResourceExhausted → const int
codeUnauthenticated → const int
codeUnavailable → const int
codeUnimplemented → const int
codeUnknown → const int
frameData → const int
one serialized protobuf message
frameHalfClose → const int
client finished sending
frameHeaders → const int
call headers, JSON {path, metadata}
frameRst → const int
abort stream, JSON {code, message}
frameTrailers → const int
terminal status, JSON {code, message}