### Set Jetty Idle Timeout

To set the Idle Tiemout for connections, make use of API method(s) (requires the JavaObject library).
`Sub Process_Globals
Public srvr As Server
End Sub`
`Sub AppStart (Args() As String)
'Init the webserver
srvr.Initialize("srvr")
'Add the websockets, handlers set the port and start the server
'Note: The port must be unique for this webapp
...
srvr.Port = 51042
srvr.Start
Dim jo As JavaObject = srvr
Dim connectors() As Object = jo.GetFieldJO("server").RunMethod("getConnectors", Null)
Dim timeout As Long = 50000
For Each c As JavaObject In connectors
c.RunMethod("setIdleTimeout", Array(timeout))
Next
...
`

Changed: , Category: WebApps, File: T6C277M2075.htm, ID: 2075