HiRPC.Post

HiRPC Post (Sender,Receiver)

Members

Functions

error
const(Error) error()
getId
uint getId()
hasSignature
bool hasSignature()

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

isError
bool isError()
isMethod
bool isMethod()
isResponse
bool isResponse()
isSigned
bool isSigned()
method
const(Method) method()
params
const(T) params(Args args)

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

params
Document params()
response
const(Response) response()
result
const(T) result(Args args)
result
Document result()

Variables

message
Document message;

the HiRPC message

pubkey
Pubkey pubkey;

Owner key of the message

signature
Signature signature;

Signature of the message