Click or drag to resize

IPubnubServiceAddPageListenerScript Method

Add the listener script to the page. Typcially called during the PageInit application extension event.

Namespace:  NetQuarry.Services.Pubnub
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void AddPageListenerScript(
	IAppContext appCxt,
	Page page,
	string channel,
	string messageHandlerFunc
)

Parameters

appCxt
Type: NetQuarryIAppContext
The application context object.
page
Type: System.Web.UIPage
The page being initialized.
channel
Type: SystemString
The channel to subscribe to.
messageHandlerFunc
Type: SystemString
The function that will handle the message.
See Also