Skip to content

Commit

Permalink
fix(transport): remove WebSocketTransport class in favor of lime-tran…
Browse files Browse the repository at this point in the history
…sport-websocket package

closes #4
  • Loading branch information
arthurxavierx committed Jun 17, 2016
1 parent 6995e41 commit e06fccf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 128 deletions.
24 changes: 0 additions & 24 deletions lime-js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,28 +245,4 @@ declare module "lime-js" {
setEncryption(encryption: SessionEncryption): void;
encryption: SessionEncryption;
}

class WebSocketTransport implements Transport {
webSocket: WebSocket;

constructor(traceEnabled?: boolean);

send(envelope: Envelope): void;
onEnvelope(envelope: Envelope): void;

open(uri: string): void;
close(): void;

getSupportedCompression(): SessionCompression[];
setCompression(compression: SessionCompression): void;
compression: SessionCompression;

getSupportedEncryption(): SessionEncryption[];
setEncryption(encryption: SessionEncryption): void;
encryption: SessionEncryption;

onOpen(): void;
onClose(): void;
onError(error: Error);
}
}
1 change: 0 additions & 1 deletion src/Lime/Lime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ export { ClientChannel } from "./Protocol/Client/ClientChannel";

// Lime.Network
export { Transport } from "./Protocol/Network/Transport";
export { WebSocketTransport } from "./Protocol/Network/WebSocketTransport";
103 changes: 0 additions & 103 deletions src/Lime/Protocol/Network/WebSocketTransport.ts

This file was deleted.

0 comments on commit e06fccf

Please sign in to comment.