forked from mongoose-os-libs/rpc-common
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmos.yml
More file actions
40 lines (32 loc) · 1.14 KB
/
mos.yml
File metadata and controls
40 lines (32 loc) · 1.14 KB
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
author: mongoose-os
description: Implements Mongoose OS RPC
type: lib
version: 1.0
sources:
- src
includes:
- include
config_schema:
- ["rpc", "o", {title: "RPC settings"}]
- ["rpc.enable", "b", true, {title: "Enable RPC"}]
- ["rpc.http_enable", "b", true, {title: "Enable RPC over HTTP"}]
- ["rpc.service_sys_enable", "b", true, {title: "Enable Sys RPC service"}]
- ["rpc.max_frame_size", "i", 4096, {title: "Max Frame Size"}]
- ["rpc.max_queue_length", "i", 25, {title: "Max Queue Length"}]
- ["rpc.default_out_channel_idle_close_timeout", "i", 10, {title: "Default idle close timeout for outbound channels"}]
- ["rpc.acl_file", "s", {title: "File with RPC ACL JSON"}]
- ["rpc.auth_domain", "s", {title: "Realm to use for digest authentication"}]
- ["rpc.auth_file", "s", {title: "File with user credentials in the htdigest format"}]
libs:
- origin: https://github.com/mongoose-os-libs/mongoose
# If we have HTTP or WS RPC, server needs to be initialized already.
init_after:
- http-server
cdefs:
MGOS_ENABLE_RPC_CHANNEL_HTTP: 1
MGOS_ENABLE_SYS_SERVICE: 1
tags:
- rpc
- c
- docs:rpc:RPC core
manifest_version: 2017-09-29