ResponseMessage¶
Implements¶
- Message ref
Constructors¶
create¶
Constructor for a Response to a Request bearing a request id
new val create(
id': (I64 val | String val | None val),
result': (F64 val | I64 val | Bool val |
None val | String val | JsonArray val |
JsonObject val),
error': (ResponseError val | None val) = reference)
: ResponseMessage val^
Parameters¶
- id': (I64 val | String val | None val)
- result': (F64 val | I64 val | Bool val | None val | String val | JsonArray val | JsonObject val)
- error': (ResponseError val | None val) = reference
Returns¶
- ResponseMessage val^
Public fields¶
let id: (I64 val | String val | None val)¶
let result: (F64 val | I64 val | Bool val | None val | String val | JsonArray val | JsonObject val)¶
Public Functions¶
json¶
Returns¶
- JsonObject val
string¶
Returns¶
- String iso^