| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also make constructor functions in the zotapi namespace.
|
| |
|
| |
|
|
|
|
| |
Simplifies serialization of various types quite a bit.
|
| |
|
|
|
|
|
|
|
|
|
| |
Since it only makes sence to fetch an xchan by one of the methods
(address, hash or guid) we don't need a data type that can hold more
than one value.
Had to implement my own serializer for it, since serde_urlencoded don't
know how to serialize enums by default.
|
| |
|
|
Not entirely happy with it, have updated the signature of
Client::fetch_stream and Client::url to take args, which are left out if
they're not serializable (or empty, I hope.) Should probably use an
Option instead, or maybe even two entry points for the api.
|