Exposed json wrapper for customization by user

This commit is contained in:
David Pfeffer
2016-03-13 11:33:17 -04:00
parent d22516f9f0
commit 0ba0d7058d
+6
View File
@@ -169,12 +169,18 @@ declare namespace SignalR {
protocol: string;
host: string;
}
interface JsonConverter {
stringify: (o: any) => string;
parse: (str: string) => any;
}
interface Connection {
clientProtocol: string;
ajaxDataType: string;
contentType: string;
id: string;
json: JsonConverter;
logging: boolean;
url: string;
qs: string | Object;