diff options
Diffstat (limited to 'src/include/microhttpd_ws.h')
-rw-r--r-- | src/include/microhttpd_ws.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/microhttpd_ws.h b/src/include/microhttpd_ws.h index 915ca339..bfbd550a 100644 --- a/src/include/microhttpd_ws.h +++ b/src/include/microhttpd_ws.h | |||
@@ -64,7 +64,7 @@ enum MHD_WEBSOCKET_FLAG | |||
64 | * All incoming payload must be unmasked. | 64 | * All incoming payload must be unmasked. |
65 | * Please note that this implementation doesn't use a strong random | 65 | * Please note that this implementation doesn't use a strong random |
66 | * number generator for the mask as suggested in RFC6455 10.3, because | 66 | * number generator for the mask as suggested in RFC6455 10.3, because |
67 | * the main intention of this implemention is the use as server | 67 | * the main intention of this implementation is the use as server |
68 | * with MHD, which doesn't need masking. | 68 | * with MHD, which doesn't need masking. |
69 | * Instead a weak random number generator is used (`rand()`). | 69 | * Instead a weak random number generator is used (`rand()`). |
70 | * You can set the seed for the random number generator | 70 | * You can set the seed for the random number generator |
@@ -470,7 +470,7 @@ enum MHD_WEBSOCKET_UTF8STEP | |||
470 | * @brief Enumeration of validity values | 470 | * @brief Enumeration of validity values |
471 | * | 471 | * |
472 | * These values are used for #MHD_websocket_stream_is_valid() | 472 | * These values are used for #MHD_websocket_stream_is_valid() |
473 | * and specifiy the validity status. | 473 | * and specify the validity status. |
474 | * | 474 | * |
475 | * @ingroup websocket | 475 | * @ingroup websocket |
476 | */ | 476 | */ |
@@ -724,7 +724,7 @@ MHD_websocket_split_close_reason (const char*payload, | |||
724 | * This can be NULL if payload_utf8_len is 0. | 724 | * This can be NULL if payload_utf8_len is 0. |
725 | * @param payload_utf8_len The length of the UTF-8 encoded text in bytes. | 725 | * @param payload_utf8_len The length of the UTF-8 encoded text in bytes. |
726 | * @param fragmentation A value of `enum MHD_WEBSOCKET_FRAGMENTATION` | 726 | * @param fragmentation A value of `enum MHD_WEBSOCKET_FRAGMENTATION` |
727 | * to specifiy the fragmentation behavior. | 727 | * to specify the fragmentation behavior. |
728 | * Specify MHD_WEBSOCKET_FRAGMENTATION_NONE | 728 | * Specify MHD_WEBSOCKET_FRAGMENTATION_NONE |
729 | * if you don't want to use fragmentation. | 729 | * if you don't want to use fragmentation. |
730 | * @param[out] frame This variable receives a buffer with the encoded frame. | 730 | * @param[out] frame This variable receives a buffer with the encoded frame. |
@@ -767,7 +767,7 @@ MHD_websocket_encode_text (struct MHD_WebSocketStream*ws, | |||
767 | * @param payload The binary data to send. | 767 | * @param payload The binary data to send. |
768 | * @param payload_len The length of the binary data in bytes. | 768 | * @param payload_len The length of the binary data in bytes. |
769 | * @param fragmentation A value of `enum MHD_WEBSOCKET_FRAGMENTATION` | 769 | * @param fragmentation A value of `enum MHD_WEBSOCKET_FRAGMENTATION` |
770 | * to specifiy the fragmentation behavior. | 770 | * to specify the fragmentation behavior. |
771 | * Specify MHD_WEBSOCKET_FRAGMENTATION_NONE | 771 | * Specify MHD_WEBSOCKET_FRAGMENTATION_NONE |
772 | * if you don't want to use fragmentation. | 772 | * if you don't want to use fragmentation. |
773 | * @param[out] frame This variable receives a buffer with | 773 | * @param[out] frame This variable receives a buffer with |