Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 902 Bytes

File metadata and controls

42 lines (25 loc) · 902 Bytes

Prism Client API

Client()

Prism Client

Client.provide()

Provide details of a service running on the server (saves needing to discover)

Client.load()

Load all services in from an Array

Client.discover()

Discover which services are available and download the client-side code from the server.

Client.process()

Process an incoming message string

Client.connect()

Attempt to connect. When successful, transmit sessionId

Client._getSessionId()

Attempt to get session ID from cookie

Client._setSessionId()

Set new session ID cookie