Titouan Rigoudy
|
a1971b047e
|
Implement length-prefixed encoding for Tokio.
|
7 years ago |
Titouan Rigoudy
|
d793f9e012
|
Unconditionally reserve u32 space in encode_u32.
|
7 years ago |
Titouan Rigoudy
|
5d1a339ba5
|
Use {get,put}_u32_le instead of LittleEndian trait.
|
7 years ago |
Titouan Rigoudy
|
585e9a5873
|
Fix use declarations in tests.
|
7 years ago |
Titouan Rigoudy
|
2e64e5a9ff
|
Use BootstrapDecode instead of Buf as trait bound.
|
7 years ago |
Titouan Rigoudy
|
0118354478
|
Implement Encode using ProtoEncode.
First step towards hiding ProtoEncode as an implementation detail and
only exposing Encode externally.
|
7 years ago |
Titouan Rigoudy
|
9dbb5c37c2
|
Implement tokio_codec::Decoder for all message types.
|
7 years ago |
Titouan Rigoudy
|
94a5ba0229
|
Implement tokio_codec::Encoder for all message types.
|
7 years ago |
Titouan Rigoudy
|
c8a4e8fe74
|
Add src::proto::codec for Tokio integration.
|
7 years ago |
Titouan Rigoudy
|
e76ed364a6
|
Rename proto::codec to proto::base_codec.
|
7 years ago |
Titouan Rigoudy
|
1536e1d19e
|
Update dependencies.
|
7 years ago |
Titouan Rigoudy
|
7c1fd0b1ac
|
Minor import change.
|
7 years ago |
Titouan Rigoudy
|
da6aa38593
|
Run rustfmt.
|
7 years ago |
Titouan Rigoudy
|
bcf05d5772
|
Refactor transport module a little.
|
7 years ago |
Titouan Rigoudy
|
f9de193b02
|
Fix unused imports.
|
7 years ago |
Titouan Rigoudy
|
5a980dbba1
|
Replace ProtoDecode with Decode, remove ProtoDecoder.
|
7 years ago |
Titouan Rigoudy
|
766d11d564
|
Remove DecodeError, use io::Error instead.
|
7 years ago |
Titouan Rigoudy
|
1848872ccc
|
Implement Proto{De,En}code for WishlistIntervalResponse.
|
7 years ago |
Titouan Rigoudy
|
d3ce706db6
|
Implement Proto{De,En}code for UserStatusResponse.
|
7 years ago |
Titouan Rigoudy
|
ddf0971984
|
Implement Proto{De,En}code for UserInfoResponse.
|
7 years ago |
Titouan Rigoudy
|
535fec66c9
|
Implement Proto{De,En}code for RoomUserLeftResponse.
|
7 years ago |
Titouan Rigoudy
|
babead97ab
|
Use field-init shorthand when constructing proto messages.
|
7 years ago |
Titouan Rigoudy
|
1056ff5811
|
Implement Proto{De,En}code for RoomUserJoinedResponse.
|
7 years ago |
Titouan Rigoudy
|
a40af7ba62
|
Implement Proto{De,En}code for RoomTickersResponse.
|
7 years ago |
Titouan Rigoudy
|
24da031b3b
|
Implement Proto{De,En}code for pairs.
|
7 years ago |
Titouan Rigoudy
|
83a1364d6d
|
Implement Proto{De,En}code for RoomMessageResponse.
|
7 years ago |
Titouan Rigoudy
|
2dec995b48
|
Implement Proto{De,En}code for RoomListResponse.
|
7 years ago |
Titouan Rigoudy
|
b5de269c8f
|
Implement Proto{De,En}code for RoomLeaveResponse.
|
7 years ago |
Titouan Rigoudy
|
d458e10001
|
Add name field to User struct.
|
7 years ago |
Titouan Rigoudy
|
7008d6eee9
|
Move User struct to proto module.
|
7 years ago |
Titouan Rigoudy
|
2118586fee
|
Implement ProtoDecode for RoomJoinResponse.
|
7 years ago |
Titouan Rigoudy
|
25a3250667
|
Implement ProtoEncode for RoomJoinResponse.
|
7 years ago |
Titouan Rigoudy
|
a62b73a752
|
Run cargo fmt.
|
7 years ago |
Titouan Rigoudy
|
13b1687a1a
|
Implement Proto{De,En}code for PrivilegedUsersResponse.
|
7 years ago |
Titouan Rigoudy
|
5dd29e2b3c
|
Implement Proto{De,En}code for PeerAddressResponse.
|
7 years ago |
Titouan Rigoudy
|
142f50f530
|
Implement Proto{De,En}code for ParentMinSpeedResponse.
|
7 years ago |
Titouan Rigoudy
|
5375508038
|
Implement Proto{De,En}code for ParentMinSpeedResponse.
|
7 years ago |
Titouan Rigoudy
|
b84d75a731
|
Implement Proto{De,En}code for LoginResponse.
|
7 years ago |
Titouan Rigoudy
|
01472b1b69
|
Derive Eq for ServerResponse and use it in tests.
|
7 years ago |
Titouan Rigoudy
|
a4bc28fc93
|
Implement Proto{De,En}code for FileSearchResponse.
|
7 years ago |
Titouan Rigoudy
|
db32e8a9e5
|
Implement Proto{De,En}code for ConnectToPeerResponse.
|
7 years ago |
Titouan Rigoudy
|
0a58bfde91
|
Add round-trip encoding test for basic protocol types.
|
7 years ago |
Titouan Rigoudy
|
0854c91d4e
|
Add skeleton implementations of Proto{De,En}code for ServerResponse.
|
7 years ago |
Titouan Rigoudy
|
3b055fa9e0
|
Add invalid code test for decoding ServerRequests.
|
7 years ago |
Titouan Rigoudy
|
d11d7bcd01
|
Simplify server request round-trip tests.
|
7 years ago |
Titouan Rigoudy
|
a69614a89a
|
Return an error when decoding unknown peer message code.
|
7 years ago |
Titouan Rigoudy
|
c2db26119b
|
Add round-trip test for pierce firewall peer message.
|
7 years ago |
Titouan Rigoudy
|
65ef05ed06
|
Implement Proto{De,En}code for ServerRequest.
|
7 years ago |
Titouan Rigoudy
|
33464dec4e
|
Implement Proto{De,En}code for remaining ServerRequest variants.
|
7 years ago |
Titouan Rigoudy
|
c6b28958c0
|
Start implementing Proto{De,En}code for server requests.
|
7 years ago |