Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MiniBrowserWsRequestValidator

Prevents explicit WebSocket connections from the mini-browser virtual host.

Hierarchy

  • MiniBrowserWsRequestValidator

Implements

Index

Properties

Protected miniBrowserHostRe

miniBrowserHostRe: RegExp

Protected serveSameOrigin

serveSameOrigin: boolean = false

Methods

allowWsUpgrade

  • allowWsUpgrade(request: IncomingMessage): Promise<boolean>

Protected postConstruct

  • postConstruct(): void