Page Contents

Home > @loopback/socketio > socketio > namespace

socketio.namespace() function

Signature:

function namespace(name: string): (target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: TypedPropertyDescriptor<import("@loopback/context").BoundValue> | number) => void;

Parameters

Parameter Type Description

name

string

Returns:

(target: Object, member: string | undefined, methodDescriptorOrParameterIndex?: TypedPropertyDescriptor<import(“@loopback/context”).BoundValue> | number) => void