Module netio.url

Implements the URL API: Protocol version: URL API Version 1.0(PDF)

The URL API is write-only (see specification), so you can't read informations about the outputs etc with it.

Functions

new (opts) Creates new instance.


Functions

new (opts)
Creates new instance. Please look into web_core for the method documentation you can use with this module.

Parameters:

  • opts options table with arguments
    • url string URL or IP of the netio you want to speak with
    • port int Additional port (can also be written directly into the URL) (optional)
    • pass string The password of the user (optional)

Returns:

    object Instance table

Usage:

    local Netio = require('netio.url')
    local netio_socket = Netio.new({
        url = 'http://netio.de',
        pass = 'demo'
      })
generated by LDoc 1.4.6 Last updated 2018-10-17 11:41:24