scalecube / scalecube-gateway

ScaleCube API Gateway is the single entry point for service consumers. handles incoming requests and proxy/route to the appropriate microservice instance.
Apache License 2.0
18 stars 7 forks source link

Change method signature for GatewaySessionHandler#onConnectionOpen #130

Closed artem-v closed 4 years ago

artem-v commented 4 years ago

Change io.scalecube.services.gateway.GatewaySessionHandler#onConnectionOpen onConnectionOpen(... Map<String, List<String>> headers) -> onConnectionOpen(... Map<String, String> headers).
While it's formally correct to have multimap for headers, in realilty it's super ugly to deal with it. If multimapness will be really needed then client would tokenize by himself.