Post

Replies

Boosts

Views

Activity

How do I upgrade nw_connection to a websocket connection?
(in objective-c, not swift), I have tried prepending the websocket options with nw_protocol_stack_prepend_application_protocol to my existing tls/tcp parameters but it is failing to upgrade the connection status and throwing an error. I cannot find any good examples or documentation on the Apple developer forums for this. Why do none of the functions have examples?
3
0
2.9k
Jan ’22
How do I upgrade nw_connection to a websocket connection?
(in objective-c, not swift), I have tried prepending the websocket options with nw_protocol_stack_prepend_application_protocol to my existing tls/tcp parameters but it is failing to upgrade the connection status and throwing an error. I cannot find any good examples or documentation on the Apple developer forums for this. Why do none of the functions have examples?
Replies
3
Boosts
0
Views
2.9k
Activity
Jan ’22