a callback to indicate that a client connects to receive server-sent events . the application has full access to http request and can decide whether to accept the connection or reject it . in sse , clients will reconnect if the connection is closed , but can be told to stop reconnecting by returning the appropriate status . concode_field_sep ServerSentEventConnection connection concode_field_sep void onClosed concode_elem_sep Status onConnecting
void function ( ServerSentEventConnection arg0 ) { this . connection = arg0 ; }