summaryrefslogtreecommitdiff
path: root/libsoup/websocket/soup-websocket.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2020-10-09 11:29:11 +0200
committerCarlos Garcia Campos <cgarcia@igalia.com>2020-10-19 14:02:25 +0200
commit99c19cc27ae837e665ace3c1f0e99cd1088e6c24 (patch)
treebbb7f7a7a9c9544801c66cf3e543ee3ea93291be /libsoup/websocket/soup-websocket.h
parentd5cd7249b20beee01dc26c09ec80f270ef8962fd (diff)
downloadlibsoup-carlosgc/split-io.tar.gz
Split SoupMessage into client and server partscarlosgc/split-io
Add SoupServerMessage and move there all the server only functionality.
Diffstat (limited to 'libsoup/websocket/soup-websocket.h')
-rw-r--r--libsoup/websocket/soup-websocket.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/libsoup/websocket/soup-websocket.h b/libsoup/websocket/soup-websocket.h
index 9f265e0a..d347c213 100644
--- a/libsoup/websocket/soup-websocket.h
+++ b/libsoup/websocket/soup-websocket.h
@@ -87,28 +87,28 @@ gboolean soup_websocket_client_verify_handshake_with_extensions (SoupMessage *ms
GError **error);
SOUP_AVAILABLE_IN_2_50
-gboolean soup_websocket_server_check_handshake (SoupMessage *msg,
- const char *origin,
- char **protocols,
- GError **error);
+gboolean soup_websocket_server_check_handshake (SoupServerMessage *msg,
+ const char *origin,
+ char **protocols,
+ GError **error);
SOUP_AVAILABLE_IN_2_68
gboolean
-soup_websocket_server_check_handshake_with_extensions (SoupMessage *msg,
- const char *origin,
- char **protocols,
- GPtrArray *supported_extensions,
- GError **error);
+soup_websocket_server_check_handshake_with_extensions (SoupServerMessage *msg,
+ const char *origin,
+ char **protocols,
+ GPtrArray *supported_extensions,
+ GError **error);
SOUP_AVAILABLE_IN_2_50
-gboolean soup_websocket_server_process_handshake (SoupMessage *msg,
- const char *expected_origin,
- char **protocols);
+gboolean soup_websocket_server_process_handshake (SoupServerMessage *msg,
+ const char *expected_origin,
+ char **protocols);
SOUP_AVAILABLE_IN_2_68
gboolean
-soup_websocket_server_process_handshake_with_extensions (SoupMessage *msg,
- const char *expected_origin,
- char **protocols,
- GPtrArray *supported_extensions,
- GList **accepted_extensions);
+soup_websocket_server_process_handshake_with_extensions (SoupServerMessage *msg,
+ const char *expected_origin,
+ char **protocols,
+ GPtrArray *supported_extensions,
+ GList **accepted_extensions);
G_END_DECLS