HiRPC.Post

HiRPC Post (Sender,Receiver)

Constructors

this
this(Document doc)
Undocumented in source.
this
this(SecureNet net, Document doc, Pubkey pkey)
Undocumented in source.
this
this(SecureNet net, T pack)
Undocumented in source.
this
this(SecureNet net, T post)
Undocumented in source.

Members

Functions

error
const(Error) error()
error
Error error()
Undocumented in source.
isError
bool isError()
isMethod
bool isMethod()
isRecord
bool isRecord()
Undocumented in source. Be warned that the author may not have intended to support it.
isResponse
bool isResponse()
isSigned
bool isSigned()

Checks if the message has been signed NOTE!! This does not mean that the signature is correct

method
const(Method) method()
method
Method method()
Undocumented in source.
params
const(T) params(Args args)

Create T with the method params and the arguments. T(args, method.param)

params
Document params()
Undocumented in source. Be warned that the author may not have intended to support it.
response
const(Response) response()
response
Response response()
Undocumented in source.
result
const(T) result(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
result
Document result()
Undocumented in source. Be warned that the author may not have intended to support it.
supports
bool supports()
Undocumented in source. Be warned that the author may not have intended to support it.
verify
bool verify(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

messageName
enum messageName;
Undocumented in source.
pubkeyName
enum pubkeyName;
Undocumented in source.
signName
enum signName;
Undocumented in source.

Mixins

__anonymous
mixin HiBONRecord!("{}")
Undocumented in source.

Unions

Message
union Message
Undocumented in source.

Variables

_message
Message _message;
Undocumented in source.
message
Document message;

the HiRPC message

pubkey
Pubkey pubkey;

Owner key of the message

signature
Signature signature;

Signature of the message

signed
SignedState signed;
Undocumented in source.
type
Type type;
Undocumented in source.

Mixed In Members

From mixin HiBONRecord!("{}")

check
alias check = Check!(HiBONRecordException)
Undocumented in source.
__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.
isRecord
alias isRecord = HiBONRecord.isRecord!ThisType
Undocumented in source.
HAS_TYPE
enum HAS_TYPE;
Undocumented in source.
less_than
bool less_than(Key a, Key b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBON) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.
NO_DEFAULT_CTOR
enum NO_DEFAULT_CTOR;
Undocumented in source.
GetKeyName
template GetKeyName(uint i)
Undocumented in source.
_keys
string[] _keys()
keys
enum keys;
Undocumented in source.
this
this(HiBON hibon)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
serialize
immutable(ubyte[]) serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta