# getProtocolsFromRequest Function

Module
import { getProtocolsFromRequest } from "@tsed/passport/src/utils/getProtocolsFromRequest"
Source/packages/passport/src/utils/getProtocolsFromRequest.ts

# Overview

function getProtocolsFromRequest(req: any, protocol: string | string[], defaultProtocols: string[]): string[];