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

Function TSHttpHdrMethodGet

src/api/InkAPI.cc:2784–2795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2782}
2783
2784const char *
2785TSHttpHdrMethodGet(TSMBuffer bufp, TSMLoc obj, int *length)
2786{
2787 sdk_assert(sdk_sanity_check_mbuffer(bufp) == TS_SUCCESS);
2788 sdk_assert(sdk_sanity_check_http_hdr_handle(obj) == TS_SUCCESS);
2789 sdk_assert(sdk_sanity_check_null_ptr((void *)length) == TS_SUCCESS);
2790
2791 HTTPHdr h;
2792
2793 SET_HTTP_HDR(h, bufp, obj);
2794 return h.method_get(length);
2795}
2796
2797TSReturnCode
2798TSHttpHdrMethodSet(TSMBuffer bufp, TSMLoc obj, const char *value, int length)

Callers 15

is_post_requestFunction · 0.85
GetSVMethod · 0.85
getMethodMethod · 0.85
is_get_requestFunction · 0.85
TSRemapDoRemapFunction · 0.85
GeneratorParseRequestFunction · 0.85
authorizeAwsV2Method · 0.85
getMethodMethod · 0.85
isTxnTransformableFunction · 0.85

Calls 4

sdk_sanity_check_mbufferFunction · 0.85
method_getMethod · 0.80

Tested by 2

is_get_requestFunction · 0.68