SockJSHandlerOptions

Options for configuring a SockJS handler

package

Default

Methods

SockJSHandlerOptions constructor

__construct( $sockJSHandlerOptions = null) 

Arguments

$sockJSHandlerOptions

mixed | null

addDisabledTransport

addDisabledTransport( $disabledTransports) : $this

Arguments

$disabledTransports

string

Response

$this

getDisabledTransports

getDisabledTransports() : array

Response

array

getHeartbeatInterval

getHeartbeatInterval() : integer

Response

integer

getLibraryURL

getLibraryURL() : string

Response

string

getMaxBytesStreaming

getMaxBytesStreaming() : integer

Response

integer

getSessionTimeout

getSessionTimeout() : integer

Response

integer

isInsertJSESSIONID

isInsertJSESSIONID() : boolean

Response

boolean

setHeartbeatInterval

setHeartbeatInterval( $heartbeatInterval) : $this

Arguments

$heartbeatInterval

integer

Response

$this

setInsertJSESSIONID

setInsertJSESSIONID( $insertJSESSIONID) : $this

Arguments

$insertJSESSIONID

boolean

Response

$this

setLibraryURL

setLibraryURL( $libraryURL) : $this

Arguments

$libraryURL

string

Response

$this

setMaxBytesStreaming

setMaxBytesStreaming( $maxBytesStreaming) : $this

Arguments

$maxBytesStreaming

integer

Response

$this

setSessionTimeout

setSessionTimeout( $sessionTimeout) : $this

Arguments

$sessionTimeout

integer

Response

$this