procedure Connect(const Uri: string; CancellationToken: TScCancellationToken = nil); overload;

procedure Connect(CancellationToken: TScCancellationToken = nil); overload;

 

Description

Establishes a connection to the specified WebSocket server. Connect sets the State property to the sOpen value.

The URI parameter is the URI that identifies the Internet resource. The RequestUri property is set from the value of this parameter.

If the method is called without parameters, URI of the request is taken from the RequestUri property.

 

See Also

Close

AfterConnect

BeforeConnect

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support