interface RPCFlag
(source)
Defines constants for dealing with SecureScuttlebutt RPC flags.
class BodyType : RPCFlag
Flag to set a RPC body type. |
|
class EndOrError : RPCFlag
Flag to set an end or error message. |
|
class Stream : RPCFlag
Flag to set a stream message. |
open fun apply(flagsByte: Byte): Byte
Applies the flag to the byte |
|
open fun isApplied(flagsByte: Byte): Boolean
Checks if the flag bit is applied to this byte |
|
abstract fun value(): Int
The value of the flag |
class BodyType : RPCFlag
Flag to set a RPC body type. |
|
class EndOrError : RPCFlag
Flag to set an end or error message. |
|
class Stream : RPCFlag
Flag to set a stream message. |