Initial Implementation on Connections and Frames

This commit is contained in:
GuilhermeWerner
2021-01-19 16:03:02 -03:00
parent 81f8aed54d
commit 2e7b35e32d
3 changed files with 220 additions and 1 deletions

10
Source/Core/Frame.rs Normal file
View File

@ -0,0 +1,10 @@
use bytes::Bytes;
enum Frame {
Simple(String),
Error(String),
Integer(u64),
Bulk(Bytes),
Null,
Array(Vec<Frame>),
}