39 lines
1.9 KiB
JavaScript
39 lines
1.9 KiB
JavaScript
export const WEBSERVER = {
|
|
/**
|
|
* Webserver
|
|
*/
|
|
|
|
senseBox_ip_address: "IP-Address",
|
|
senseBox_ip_address_tip: "Returns the IP address as a string.",
|
|
senseBox_init_http_server_tip: "Initializes a http server on the specified port.",
|
|
senseBox_init_http_server: "Initialize HTTP-Server",
|
|
senseBox_http_on_client_connect: "If client is connected:",
|
|
senseBox_http_on_client_connect_tip: "Checks if a client is connected and executes given statement in that case.",
|
|
senseBox_http_method: "Method",
|
|
senseBox_http_method_tip: "Method of the current HTTP request",
|
|
senseBox_http_uri: "URI",
|
|
senseBox_http_uri_tip: "URI of requested resource of the current HTTP request",
|
|
senseBox_http_user_agent: "User-Agent",
|
|
senseBox_http_user_agent_tip: "The User-Agent send along with the current HTTP request",
|
|
senseBox_http_protocol_version: "HTTP Version",
|
|
senseBox_http_protocol_version_tip: "The HTTP Version of the current HTTP request",
|
|
senseBox_http_success_tip: "Send a successful HTTP response with content.",
|
|
senseBox_http_not_found_tip: "Send a predefined 404 HTTP response.",
|
|
senseBox_http_success: "Succesful",
|
|
senseBox_http_success_l2: "HTTP reponse",
|
|
senseBox_http_success_buildhtml: "HTML:",
|
|
senseBox_http_not_found: "404 Not found",
|
|
senseBox_html_document: "HTML",
|
|
senseBox_html_header: "<head>",
|
|
senseBox_html_header_end: "</head>",
|
|
senseBox_html_body: "<body>",
|
|
senseBox_html_body_end: "</body>",
|
|
senseBox_html_general_tag_tip: "A general HTML tag building block.",
|
|
senseBox_html_document_tip: "A block for generating a HTML document.",
|
|
|
|
senseBox_tag_first_mutator_tip: "Mandatory children to this block.",
|
|
senseBox_tag_optional_mutator_tip: "Add more children to the block.",
|
|
sensebox_web_readHTML_filename: "File:",
|
|
senseBox_sd_web_readHTML: "Read HTML from SD Card",
|
|
|
|
} |