Table of Contents

Delegate DataTypes.SocketIOAuthPayloadCallback

Namespace
Firesplash.GameDevAssets.SocketIOPlus
Assembly
Firesplash.GameDevAssets.SocketIOPlus.dll

This delegate gets called when a Socket.IO namespace is being connected. Your function must return null if not auht payload is required for the namespace, or an object that can be serialized by Json.Net if a payload must be provided

public delegate object DataTypes.SocketIOAuthPayloadCallback(string namespacePath)

Parameters

namespacePath string

The Socket.IO namespace path (e.g. "/") for which authentication data is requested

Returns

object
This delegate gets called when a Socket.IO namespace is being connected. Your function must return null if not auht payload is required for the namespace, or an object that can be serialized by Json.Net if a payload must be provided