MCPcopy Index your code
hub / github.com/nodejs/node / sessionName

Function sessionName

lib/internal/http2/util.js:947–956  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

945}
946
947function sessionName(type) {
948 switch (type) {
949 case NGHTTP2_SESSION_CLIENT:
950 return 'client';
951 case NGHTTP2_SESSION_SERVER:
952 return 'server';
953 default:
954 return '<invalid>';
955 }
956}
957
958function getAuthority(headers) {
959 // For non-CONNECT requests, HTTP/2 allows either :authority

Callers 3

debugStreamFunction · 0.85
debugSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…