initial commit
- contains basic chat via websocket - contains button to test websocket - contains button to test rest api
This commit is contained in:
10
src/app/chat/entry/entry.ts
Normal file
10
src/app/chat/entry/entry.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export class Entry {
|
||||
|
||||
public messages: Array<string> = new Array<string>();
|
||||
|
||||
constructor(public character: string,
|
||||
public user: string,
|
||||
message: string) {
|
||||
this.messages.push(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user