Replies: 1 comment
-
|
I changed the second status callback from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A quick overview of how to use HTTP objects in the Cloud library.
A HTTP object is a clone of
~HTTP/api/obj/server1(server) or~HTTP/api/obj/client1(client).Include files:
~HTTP/HttpRequest.h,~HTTP/HttpResponse.h,~HTTP/HttpField.hOnce cloned, the object can be used as a HTTP connection object. In the following,
=>denotes a call to the HTTP object,<=denotes a callback.create(object server)
create(object client, string host, int port)
Receiving data:
Receiving chunks:
Status callbacks:
Receiving WebSocket frames/chunks:
Sending chunks, WebSocket Chunks
Terminating the connection:
Beta Was this translation helpful? Give feedback.
All reactions