-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e442c30
commit 7f6edb4
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,22 @@ | ||
import { VersionInformation } from '../../commands/version' | ||
import { FlowrBaseMessage } from './messages' | ||
|
||
/** | ||
* The hello message is automatically send by the sever upon connection. | ||
*/ | ||
export interface FlowrHelloResponseMessage extends FlowrBaseMessage { | ||
type: 'hello', | ||
/** The hello message never has an id, it is always undefined */ | ||
id: undefined, | ||
/** a unique name assigned to each client it has no semantic meaning and is only used for debugging */ | ||
/** | ||
* A unique name that is assigned to each client. | ||
* It has no semantic meaning and is only used/useful for debugging. | ||
*/ | ||
clientName: string, | ||
/** | ||
* Describes which versions are in use on the server. | ||
* @see VersionInformation | ||
*/ | ||
versions: VersionInformation | ||
} | ||
|