Update WinRT typings to fix extend conflict as both 'IWebSocket' and 'IClosable' implemetn a close method with diffrent signatures

This commit is contained in:
Mohamed Hegazy
2014-09-02 14:25:53 -07:00
parent 0d999bb466
commit 7d1ef8108d

4
winrt/winrt.d.ts vendored
View File

@@ -7940,6 +7940,8 @@ declare module Windows {
control: Windows.Networking.Sockets.MessageWebSocketControl;
information: Windows.Networking.Sockets.MessageWebSocketInformation;
onmessagereceived: any/* TODO */;
close(): void;
close(code: number, reason: string): void;
}
export class MessageWebSocketControl implements Windows.Networking.Sockets.IMessageWebSocketControl, Windows.Networking.Sockets.IWebSocketControl {
maxMessageSize: number;
@@ -7978,6 +7980,8 @@ declare module Windows {
control: Windows.Networking.Sockets.StreamWebSocketControl;
information: Windows.Networking.Sockets.StreamWebSocketInformation;
inputStream: Windows.Storage.Streams.IInputStream;
close(): void;
close(code: number, reason: string): void;
}
export class StreamWebSocketControl implements Windows.Networking.Sockets.IStreamWebSocketControl, Windows.Networking.Sockets.IWebSocketControl {
noDelay: boolean;