We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Engine.getWebSocketHeaders
1 parent 7b9a7b5 commit 790a2feCopy full SHA for 790a2fe
src/main/java/hudson/remoting/Engine.java
@@ -413,6 +413,11 @@ public void setWebSocket(boolean webSocket) {
413
this.webSocket = webSocket;
414
}
415
416
+ @CheckForNull
417
+ public Map<String, String> getWebSocketHeaders() {
418
+ return webSocketHeaders != null ? Map.copyOf(webSocketHeaders) : Map.of();
419
+ }
420
+
421
/**
422
* Sets map of custom websocket headers. These headers will be applied to the websocket connection to Jenkins.
423
*
0 commit comments