1ZHTTP_SERVER_OPTIONS(3) CZMQ Manual ZHTTP_SERVER_OPTIONS(3)
2
3
4
6 zhttp_server_options - Class for class description
7
9 // This is a draft class, and may change without notice. It is disabled in
10 // stable builds by default. If you use this in applications, please ask
11 // for it to be pushed to stable state. Use --enable-drafts to enable.
12 #ifdef CZMQ_BUILD_DRAFT_API
13 // *** Draft method, for development use, may change without warning ***
14 // Create a new zhttp_server_options.
15 CZMQ_EXPORT zhttp_server_options_t *
16 zhttp_server_options_new (void);
17
18 // *** Draft method, for development use, may change without warning ***
19 // Create options from config tree.
20 CZMQ_EXPORT zhttp_server_options_t *
21 zhttp_server_options_from_config (zconfig_t *config);
22
23 // *** Draft method, for development use, may change without warning ***
24 // Destroy the zhttp_server_options.
25 CZMQ_EXPORT void
26 zhttp_server_options_destroy (zhttp_server_options_t **self_p);
27
28 // *** Draft method, for development use, may change without warning ***
29 // Get the server listening port.
30 CZMQ_EXPORT int
31 zhttp_server_options_port (zhttp_server_options_t *self);
32
33 // *** Draft method, for development use, may change without warning ***
34 // Set the server listening port
35 CZMQ_EXPORT void
36 zhttp_server_options_set_port (zhttp_server_options_t *self, int port);
37
38 // *** Draft method, for development use, may change without warning ***
39 // Get the address sockets should connect to in order to receive requests.
40 CZMQ_EXPORT const char *
41 zhttp_server_options_backend_address (zhttp_server_options_t *self);
42
43 // *** Draft method, for development use, may change without warning ***
44 // Set the address sockets should connect to in order to receive requests.
45 CZMQ_EXPORT void
46 zhttp_server_options_set_backend_address (zhttp_server_options_t *self, const char *address);
47
48 // *** Draft method, for development use, may change without warning ***
49 // Self test of this class.
50 CZMQ_EXPORT void
51 zhttp_server_options_test (bool verbose);
52
53 #endif // CZMQ_BUILD_DRAFT_API
54 Please add '@interface' section in './../src/zhttp_server_options.c'.
55
57 zhttp_server_options -
58
59 Please add @discuss section in ./../src/zhttp_server_options.c.
60
62 From zhttp_server_options_test method.
63
64 Please add '@selftest' section in './../src/zhttp_server_options.c'.
65
66
68 The czmq manual was written by the authors in the AUTHORS file.
69
71 Main web site:
72
73 Report bugs to the email <zeromq-dev@lists.zeromq.org[1]>
74
76 Copyright (c) the Contributors as noted in the AUTHORS file. This file
77 is part of CZMQ, the high-level C binding for 0MQ:
78 http://czmq.zeromq.org. This Source Code Form is subject to the terms
79 of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
80 distributed with this file, You can obtain one at
81 http://mozilla.org/MPL/2.0/. LICENSE included with the czmq
82 distribution.
83
85 1. zeromq-dev@lists.zeromq.org
86 mailto:zeromq-dev@lists.zeromq.org
87
88
89
90CZMQ 4.2.1 02/01/2021 ZHTTP_SERVER_OPTIONS(3)