Based on the following code:
public WebSocketOptions(String url, Map<String, Object> options) {
this.uri = URI.create(url);
ssl = "wss".equalsIgnoreCase(uri.getScheme());
port = uri.getPort() == -1 ? (ssl ? 443 : 80) : uri.getPort();
if (options != null) {
subProtocol = (String) options.get("subProtocol");
Integer temp = (Integer) options.get("maxPayloadSize");
if (temp != null) {
maxPayloadSize = temp;
}
}
}
The "headers" map is not used anywhere as opposed to the docs https://github.com/intuit/karate#websocket
thanks for catching this, I've just requested a change, do confirm and re-submit the PR
@khanguyen88 never mind, I accepted your pr
released 0.9.4
Most helpful comment
released 0.9.4