mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Frame now implements Message as it should
This commit is contained in:
Vendored
+6
-1
@@ -51,9 +51,14 @@ export interface Message {
|
||||
nack(headers?: {}): any;
|
||||
}
|
||||
|
||||
export class Frame {
|
||||
export class Frame implements Message {
|
||||
command: string;
|
||||
headers: {};
|
||||
body: string;
|
||||
constructor(command: string, headers?: {}, body?: string);
|
||||
|
||||
ack(headers?: {}): any;
|
||||
nack(headers?: {}): any;
|
||||
toString(): string;
|
||||
sizeOfUTF8(s: string): number;
|
||||
unmarshall(datas: any): any;
|
||||
|
||||
Reference in New Issue
Block a user