File: zhttp_server_options.api

package info (click to toggle)
czmq 4.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,912 kB
  • sloc: ansic: 30,811; cpp: 19,362; sh: 11,873; python: 11,814; pascal: 11,229; ruby: 8,818; java: 4,363; makefile: 299; perl: 151; javascript: 35
file content (43 lines) | stat: -rw-r--r-- 1,303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<class name = "zhttp_server_options" state = "draft">
    <!--
    Copyright (c) the Contributors as noted in the AUTHORS file.
    This file is part of CZMQ, the high-level C binding for 0MQ:
    http://czmq.zeromq.org.

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
    -->
    zhttp server.

    <constructor>
    </constructor>

    <constructor name = "from config">
        Create options from config tree.
        <argument name = "config" type = "zconfig" />
    </constructor>

    <destructor>
    </destructor>

    <method name = "port" >
        Get the server listening port.
        <return type = "integer" />
    </method>

    <method name = "set port">
        Set the server listening port
        <argument name = "port" type = "integer" />
    </method>

    <method name = "backend address">
        Get the address sockets should connect to in order to receive requests.
        <return type = "string" />
    </method>

    <method name = "set backend address">
        Set the address sockets should connect to in order to receive requests.
        <argument name = "address" type = "string" />
    </method>
</class>