making Connection.close() get optional arguments (#9554)

This commit is contained in:
2roy999
2016-06-08 09:23:36 +03:00
committed by Horiuchi_H
parent 57e2cfcf83
commit 8a16cfb4da

View File

@@ -181,7 +181,7 @@ declare namespace autobahn {
open(): void;
close(reason: string, message: string): void;
close(reason?: string, message?: string): void;
onopen: (session: Session, details: any) => void;
onclose: (reason: string, details: any) => boolean;