MCPcopy Create free account
hub / github.com/apache/trafficserver / scheme_set

Method scheme_set

include/proxy/hdrs/URL.h:551–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549 -------------------------------------------------------------------------*/
550
551inline void
552URL::scheme_set(const char *value, int length)
553{
554 ink_assert(valid());
555 int scheme_wks_idx = (value ? hdrtoken_tokenize(value, length) : -1);
556 m_url_impl->set_scheme(m_heap, value, scheme_wks_idx, length, true);
557}
558
559/*-------------------------------------------------------------------------
560 -------------------------------------------------------------------------*/

Callers 9

state_api_calloutMethod · 0.80
redirect_requestMethod · 0.80
setup_client_requestFunction · 0.80
ModifyRequestMethod · 0.80
remap_parse_config_btiFunction · 0.80
invokeMethod · 0.80

Calls 2

hdrtoken_tokenizeFunction · 0.85
set_schemeMethod · 0.80

Tested by

no test coverage detected