Getting Started with the WebSockets API : 2 Login : 2.3 Login Context
 
2.3 Login Context
To view a contextual example message, click the appropriate message type:
Login
 
 
{
    "Domain":"Login",
    "ID":1,
    "Key":{
        "Elements":{
            "ApplicationId":"256",
            "Position":"127.0.0.1"
        },
    "Name":"user"
    }
}
 
Login Response
 
 
[
  {
    "Domain":"Login",
    "Elements":{
        "MaxMsgSize":61440,
        "PingTimeout":30,
  },
  "ID":1,
  "Key":{
    "Elements":{
        "AllowSuspectData":1,
        "ApplicationId":"256",
        "ApplicationName":"ADS",
        "Position":"127.0.0.1",
        "ProvidePermissionExpressions":1,
        "ProvidePermissionProfile":0,
        "SingleOpen":1,
        "SupportBatchRequests":7,
        "SupportEnhancedSymbolList":1,
        "SupportOMMPost":1,
        "SupportOptimizedPauseResume":1,
        "SupportPauseResume":1,
        "SupportStandby":0,
        "SupportViewRequests":1
      },
      "Name":"user"
    },
    "State":{
      "Data":"Ok",
      "Stream":"Open",
      "Text":"Login accepted
    },
    "Type":"Refresh"
  }
]
 
Close Login
 
 
{
    "Domain":"Login",
    "ID":1,
    "Type":"Close"
}