User:Dzonatas Sol/SNOW-375 Resources/Interface

From Second Life Wiki
Jump to navigation Jump to search
Resource Method Description
/Interface/Connect POST -> &connect <- &result
/Interface/UI POST -> { UI: bool } <- { status: string }
/Interface/Status POST -> { Status: string } <- { status: string }

Note: Description syntax is only based on LLIDL.


/Interface/Connect

Forward:

Attempt to negotiate a connection. A reverse /Interface/Connect query is made by this forward interface, which is the Snowglobe Viewer.

An optional session cookie is set as an extra security measure to in order to lock-down a single client/server connection.

Reverse:

The application that requested the initial connection also listens for this query. On a successful query the Snowglobe's ControlGroup variable "InterfaceStartupCapability" is set to http://host:port/Interface/Connect, as detected by the forward interface.


/Interface/Status

A message that describes the changed state of the connection.


connect

{

(host) : string
port : integer

}

Host is optional for remote sessions.


result

{

status : string
session : uuid
Version : string

|