getRequestProtocol function
Get the request protocol.
Implementation
getRequestProtocol(H4Event event) {
return event.node["value"]?.headers.value("x-forwarded-proto") ?? "http";
}
Get the request protocol.
getRequestProtocol(H4Event event) {
return event.node["value"]?.headers.value("x-forwarded-proto") ?? "http";
}