1
0
Fork 0
mirror of https://github.com/besterprotocol/bformat synced 2023-12-13 21:30:24 +01:00
Commit graph

10 commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire
8e0c161e02 Sockets
- Cleaned up whitespace
2023-04-30 01:06:18 +02:00
Tristan B. Velloza Kildaire
f49d8349ce BClient
- `sendMessage(byte[])` now encodes using `bformat.marshall`'s `encodeBformat(byte[])` rather than its own code
2023-04-30 01:03:19 +02:00
Tristan B. Velloza Kildaire
3b57b6c1ae BClient
- handle erroneous `writeFully(byte[])` call in `sendMessage(byte[])`
2023-04-30 00:55:39 +02:00
Tristan B. Velloza Kildaire
3a9fccb3f2 BClient
- Translated `receiveMessage(ref byte[])` over to using the `Stream`, `stream`
- Translated `sendMessage(byte[])` over to using the `Stream`, `stream`
2023-04-30 00:41:39 +02:00
Tristan B. Velloza Kildaire
b94c433115 Sockets
- Underlying transport is now a river-based `Stream`
- Second constructor added which takes in a `Stream`, the original constructor now calls it with an adhoc created `SockStream` to wrap the consumed `Socket`
2023-04-30 00:14:05 +02:00
Tristan B. Velloza Kildaire
b9c4b37b59 BClient
- Holds teh socket for the lifetime of usage and you can now use `receiveMessage(ref byte[])` and `sendMesssage(byte[])` on it
2023-04-30 00:01:23 +02:00
Tristan B. Velloza Kildaire
e288324b0a Sockets
- Documented module
2023-03-25 21:36:09 +02:00
Tristan B. Velloza Kildaire
0814ec87e9 Sockets
- Added documentation for `receiveMessage(Socket, ref byte[])`
2023-03-25 21:07:56 +02:00
Tristan B. Velloza Kildaire
a3d01f43cf Sockets
- Added documentation for `sendMessage(Socket, byte[])`
2023-03-25 21:04:15 +02:00
Tristan B. Velloza Kildaire
7245572a97 - Restructured whole package 2023-03-25 20:59:38 +02:00
Renamed from source/bmessage.d (Browse further)