Add etf encoding support with erlpack (#943)

* the performance from this is astounding

* help uws

* save 15 bytes in webpacks

* update readme

* why is markdown like this

* optimizations

* Update WebSocketManager.js
This commit is contained in:
Gus Caplan
2016-12-02 20:35:59 -06:00
committed by Schuyler Cebulskie
parent 58c7c2e7b8
commit 1e5afc1608
4 changed files with 26 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ class RESTMethods {
getGateway() {
return this.rest.makeRequest('get', Constants.Endpoints.gateway, true).then(res => {
this.rest.client.ws.gateway = `${res.url}/?encoding=json&v=${Constants.PROTOCOL_VERSION}`;
this.rest.client.ws.gateway = `${res.url}/?v=${Constants.PROTOCOL_VERSION}`;
return this.rest.client.ws.gateway;
});
}