View Code? Open in Web Editor
NEW
.NET5 networking library based on BedrockFramework and AspNetCore sources. Provide high performance, low level networking APIs for building custom servers and clients.
License: Apache License 2.0
andromeda.network's People
Contributors
Watchers
andromeda.network's Issues
Just for syntax sugar, the GetEnumerator() method will be implemented getting the enumerator from the ReadFramesAsync method
The framing library should provide the following features :
And add a method IsEmpty to know if the frame is a Frame.Empty or Frame.Empty
A token can already be used in the async enumerable using WithCancellation so I assume this might not be needed
Like the MessageReader on the protocol logic of bedrock (to prevent copy of struct ?)
Should improve this method using the GetAsyncEnumerator() and trying not to await the MoveNextAsync() calls if possible.