Uses of Interface
kong.unirest.core.WebSocketRequest
Packages that use WebSocketRequest
-
Uses of WebSocketRequest in kong.unirest.core
Classes in kong.unirest.core that implement WebSocketRequestMethods in kong.unirest.core that return WebSocketRequestModifier and TypeMethodDescriptionThe Accept header to send (e.g.Basic auth credentialsAdd a simple cookie headerWebSocketRequest.cookie
(Collection<Cookie> cookies) Add a collection of cookie headersAdd a simple cookie headerWebSocketRequestImpl.cookie
(Collection<Cookie> cookies) Add a http header, HTTP supports multiple of the same header.WebSocketRequest.headerReplace
(String name, String value) Replace a header value or add it if it doesn't existWebSocketRequestImpl.headerReplace
(String name, String value) Add headers as a mapWebSocketRequest.queryString
(String name, Object value) add a query param to the url.WebSocketRequest.queryString
(String name, Collection<?> value) Add multiple param with the same param name.WebSocketRequest.queryString
(Map<String, Object> parameters) Add query params as a map of name value pairsWebSocketRequestImpl.queryString
(String name, Object value) WebSocketRequestImpl.queryString
(String name, Collection<?> value) WebSocketRequestImpl.queryString
(Map<String, Object> parameters) WebSocketRequest.responseEncoding
(String encoding) The encoding to expect the response to be for cases where the server fails to respond with the proper encodingWebSocketRequestImpl.responseEncoding
(String encoding) WebSocketRequest.routeParam
(String name, String value) add a route param that replaces the matching {name} For example routeParam("name", "fred") will replace {name} in https://localhost/users/{user} to https://localhost/users/fredWebSocketRequest.routeParam
(Map<String, Object> params) add a route param map that replaces the matching {name} For example routeParam(Map.of("name", "fred")) will replace {name} in https://localhost/users/{user} to https://localhost/users/fredWebSocketRequestImpl.routeParam
(String name, String value) WebSocketRequestImpl.routeParam
(Map<String, Object> params) static WebSocketRequest
Methods in kong.unirest.core with parameters of type WebSocketRequestModifier and TypeMethodDescriptionCacheManager.CacheWrapper.websocket
(WebSocketRequest request, WebSocket.Listener listener) Client.websocket
(WebSocketRequest request, WebSocket.Listener listener) Create a websocket connectionMockClient.websocket
(WebSocketRequest request, WebSocket.Listener listener) -
Uses of WebSocketRequest in kong.unirest.core.java
Methods in kong.unirest.core.java with parameters of type WebSocketRequestModifier and TypeMethodDescriptionJavaClient.websocket
(WebSocketRequest request, WebSocket.Listener listener)