emqx/apps/emqx_connector/i18n/emqx_connector_http.conf

161 lines
3.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

emqx_connector_http {
base_url {
desc {
en: """
The base URL is the URL includes only the scheme, host and port.<br/>
When send an HTTP request, the real URL to be used is the concatenation of the base URL and the
path parameter (passed by the emqx_resource:query/2,3 or provided by the request parameter).<br/>
For example: `http://localhost:9901/`
"""
zh: """
base URL 只包含host和port。<br/>
发送HTTP请求时真实的URL是由base URL 和 path parameter连接而成通过emqx_resource:query/2,3传递或者通过请求参数提供。<br/>
示例:`http://localhost:9901/`
"""
}
label: {
en: "Base Url"
zh: "Base Url"
}
}
connect_timeout {
desc {
en: "The timeout when connecting to the HTTP server."
zh: "连接HTTP服务器的超时时间。"
}
label: {
en: "Connect Timeout"
zh: "连接超时"
}
}
max_retries {
desc {
en: "Max retry times if error on sending request."
zh: "请求出错时的最大重试次数。"
}
label: {
en: "Max Retries"
zh: "最大重试次数"
}
}
retry_interval {
desc {
en: "Interval between retries."
zh: "重试之间的间隔时间。"
}
label: {
en: "Retry Interval"
zh: "重试间隔"
}
}
pool_type {
desc {
en: "The type of the pool. Can be one of `random`, `hash`."
zh: "连接池的类型,可用类型有`random`, `hash`。"
}
label: {
en: "Pool Type"
zh: "连接池类型"
}
}
pool_size {
desc {
en: "The pool size."
zh: "连接池大小。"
}
label: {
en: "Pool Size"
zh: "连接池大小"
}
}
enable_pipelining {
desc {
en: "Enable the HTTP pipeline."
zh: "允许HTTP管道。"
}
label: {
en: "HTTP Pipelineing"
zh: "HTTP管道"
}
}
request {
desc {
en: """
If the request is provided, the caller can send HTTP requests via
<code>emqx_resource:query(ResourceId, {send_message, BridgeId, Message})</code>
"""
zh: """
如果提供了请求,调用者可以通过以下方式发送 HTTP 请求
<code>emqx_resource:query(ResourceId, {send_message, BridgeId, Message})</code>
"""
}
label: {
en: "Request"
zh: "HTTP 请求"
}
}
method {
desc {
en: "HTTP method."
zh: "HTTP 请求方法。"
}
label: {
en: "HTTP Method"
zh: "HTTP 请求方法"
}
}
path {
desc {
en: "URL path."
zh: "HTTP请求路径。"
}
label: {
en: "URL Path"
zh: "HTTP请求路径"
}
}
body {
desc {
en: "HTTP request body."
zh: "HTTP请求报文主体。"
}
label: {
en: "HTTP Body"
zh: "HTTP请求报文主体"
}
}
headers {
desc {
en: "List of HTTP headers."
zh: "HTTP 头字段列表。"
}
label: {
en: "HTTP Headers"
zh: "HTTP 头字段列表"
}
}
request_timeout {
desc {
en: "HTTP request timeout."
zh: "HTTP 请求超时。"
}
label: {
en: "Request Timeout"
zh: "HTTP 请求超时"
}
}
}