Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebSocket Sync Client] Add Cookie support #978

Closed
Tracked by #577
Bhashinee opened this issue Feb 15, 2021 · 0 comments
Closed
Tracked by #577

[WebSocket Sync Client] Add Cookie support #978

Bhashinee opened this issue Feb 15, 2021 · 0 comments
Assignees

Comments

@Bhashinee
Copy link
Member

Bhashinee commented Feb 15, 2021

$subject.

http:Cookie cookie = new ("username", "name");
http:Cookie[] httpCookies = [cookie];

websocket:ClientConfiguration clientConf = {
   cookies: httpCookies
};

websocket:Client wsClient = check new("ws://localhost:21316/testCookieSync/", config = clientConf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant