Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cubestore): Web Socket transport (#2227)
* feat(cubestore): Web Socket transport * chore(cubestore): Web Socket transport * feat(cubestore): Web Socket transport: auth support
- Loading branch information
1 parent
a1d091e
commit 8821b9e
Showing
13 changed files
with
1,261 additions
and
124 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
cd src/codegen | ||
flatc --rust http_message.fbs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
union HttpCommand { | ||
HttpQuery, | ||
HttpResultSet, | ||
HttpError | ||
} | ||
|
||
table HttpMessage { | ||
message_id: uint; | ||
command: HttpCommand; | ||
} | ||
|
||
table HttpQuery { | ||
query: string; | ||
} | ||
|
||
table HttpError { | ||
error: string; | ||
} | ||
|
||
table HttpResultSet { | ||
columns: [string]; | ||
rows: [HttpRow]; | ||
} | ||
|
||
table HttpRow { | ||
values: [HttpColumnValue]; | ||
} | ||
|
||
table HttpColumnValue { | ||
string_value: string; | ||
} | ||
|
||
|
||
root_type HttpMessage; |
Oops, something went wrong.