Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 8 of 8) sorted by relevance

/unit/src/java/nginx/unit/websocket/server/
H A DWsHandshakeRequest.java150 String scheme = req.getScheme(); in buildRequestUri() local
157 if ("http".equals(scheme)) { in buildRequestUri()
159 } else if ("https".equals(scheme)) { in buildRequestUri()
164 sm.getString("wsHandshakeRequest.unknownScheme", scheme)); in buildRequestUri()
170 if ((scheme.equals("http") && (port != 80)) in buildRequestUri()
171 || (scheme.equals("https") && (port != 443))) { in buildRequestUri()
/unit/src/java/nginx/unit/websocket/
H A DWsWebSocketContainer.java208 String scheme = path.getScheme(); in connectToServerRecursive() local
209 if ("ws".equalsIgnoreCase(scheme)) { in connectToServerRecursive()
211 } else if ("wss".equalsIgnoreCase(scheme)) { in connectToServerRecursive()
216 "wsWebSocketContainer.pathWrongScheme", scheme)); in connectToServerRecursive()
250 if ("ws".equalsIgnoreCase(scheme)) { in connectToServerRecursive()
H A DLocalStrings.properties81 wsHandshakeRequest.unknownScheme=The scheme [{0}] in the request is not recognised
140 wsWebSocketContainer.pathWrongScheme=The scheme [{0}] is not supported. The supported schemes are w…
145 …me=Failed to handle HTTP response code [{0}]. Unsupported Authentication scheme [{1}] returned in …
/unit/src/python/
H A Dnxt_python_asgi.c644 PyObject *scope, *v, *type, *scheme; in nxt_py_asgi_create_http_scope() local
668 scheme = r->tls ? nxt_py_wss_str : nxt_py_ws_str; in nxt_py_asgi_create_http_scope()
672 scheme = r->tls ? nxt_py_https_str : nxt_py_http_str; in nxt_py_asgi_create_http_scope()
694 SET_ITEM(scope, scheme, scheme) in nxt_py_asgi_create_http_scope()
/unit/src/
H A Dnxt_http_route.c50 nxt_conf_value_t *scheme; member
298 offsetof(nxt_http_route_match_conf_t, scheme)
450 if (mtcf.scheme != NULL) { in nxt_http_route_match_create()
451 rule = nxt_http_route_rule_create(task, mp, mtcf.scheme, 1, in nxt_http_route_match_create()
H A Dnxt_conf_validation.c2363 nxt_str_t scheme; in nxt_conf_vldt_match_scheme_pattern() local
2368 nxt_conf_get_string(value, &scheme); in nxt_conf_vldt_match_scheme_pattern()
2370 if (nxt_strcasestr_eq(&scheme, &http) in nxt_conf_vldt_match_scheme_pattern()
2371 || nxt_strcasestr_eq(&scheme, &https)) in nxt_conf_vldt_match_scheme_pattern()
/unit/
H A DCHANGES671 *) Feature: request routing by scheme (HTTP or HTTPS).
/unit/docs/
H A Dunit-openapi.yaml5851 scheme:
5852 description: "URI scheme. Accepts only two patterns,