Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 7 of 7) sorted by path

/unit/
H A DCHANGES562 *) Feature: request routing by scheme (HTTP or HTTPS).
/unit/src/java/nginx/unit/websocket/
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 …
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()
/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/
H A Dnxt_conf_validation.c2188 nxt_str_t scheme; in nxt_conf_vldt_match_scheme_pattern() local
2193 nxt_conf_get_string(value, &scheme); in nxt_conf_vldt_match_scheme_pattern()
2195 if (nxt_strcasestr_eq(&scheme, &http) in nxt_conf_vldt_match_scheme_pattern()
2196 || nxt_strcasestr_eq(&scheme, &https)) in nxt_conf_vldt_match_scheme_pattern()
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()
/unit/src/python/
H A Dnxt_python_asgi.c580 PyObject *scope, *v, *type, *scheme; in nxt_py_asgi_create_http_scope() local
603 scheme = r->tls ? nxt_py_wss_str : nxt_py_ws_str; in nxt_py_asgi_create_http_scope()
607 scheme = r->tls ? nxt_py_https_str : nxt_py_http_str; in nxt_py_asgi_create_http_scope()
618 SET_ITEM(scope, scheme, scheme) in nxt_py_asgi_create_http_scope()