bbas-devicer - v0.2.1
Preparing search index...
extractBbasContext
Function extractBbasContext
extractBbasContext
(
req
:
IncomingMessage
)
:
BbasIdentifyContext
Extract a
BbasIdentifyContext
from an incoming request.
ip
— resolved via
resolveIp
userId
— reads the
x-user-id
header as a convenience; override after authentication if needed
headers
— full lower-cased header map copy
Parameters
req
:
IncomingMessage
Returns
BbasIdentifyContext
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
bbas-devicer - v0.2.1
Loading...
Extract a BbasIdentifyContext from an incoming request.
ip— resolved via resolveIpuserId— reads thex-user-idheader as a convenience; override after authentication if neededheaders— full lower-cased header map copy