Nginx API for Lua

  • Core constants
  • coroutine.create
  • coroutine.resume
  • coroutine.running
  • coroutine.status
  • coroutine.wrap
  • coroutine.yield
  • HTTP method constants
  • HTTP status constants
  • ndk.set_var.DIRECTIVE
  • Nginx log level constants
  • ngx.arg
  • ngx.balancer
  • ngx.config.debug
  • ngx.config.nginx_configure
  • ngx.config.nginx_version
  • ngx.config.ngx_lua_version
  • ngx.config.prefix
  • ngx.config.subsystem
  • ngx.cookie_time
  • ngx.crc32_long
  • ngx.crc32_short
  • ngx.ctx
  • ngx.decode_args
  • ngx.decode_base64
  • ngx.encode_args
  • ngx.encode_base64
  • ngx.eof
  • ngx.escape_uri
  • ngx.exec
  • ngx.exit
  • ngx.flush
  • ngx.get_phase
  • ngx.header.HEADER
  • ngx.headers_sent
  • ngx.hmac_sha1
  • ngx.http_time
  • ngx.is_subrequest
  • ngx.localtime
  • ngx.location.capture
  • ngx.location.capture_multi
  • ngx.log
  • ngx.md5
  • ngx.md5_bin
  • ngx.now
  • ngx.ocsp
  • ngx.on_abort
  • ngx.parse_http_time
  • ngx.print
  • ngx.quote_sql_str
  • ngx.re.find
  • ngx.re.gmatch
  • ngx.re.gsub
  • ngx.re.match
  • ngx.re.sub
  • ngx.redirect
  • ngx.req.append_body
  • ngx.req.clear_header
  • ngx.req.discard_body
  • ngx.req.finish_body
  • ngx.req.get_body_data
  • ngx.req.get_body_file
  • ngx.req.get_headers
  • ngx.req.get_method
  • ngx.req.get_post_args
  • ngx.req.get_uri_args
  • ngx.req.http_version
  • ngx.req.init_body
  • ngx.req.is_internal
  • ngx.req.raw_header
  • ngx.req.read_body
  • ngx.req.set_body_data
  • ngx.req.set_body_file
  • ngx.req.set_header
  • ngx.req.set_method
  • ngx.req.set_uri
  • ngx.req.set_uri_args
  • ngx.req.socket
  • ngx.req.start_time
  • ngx.resp.get_headers
  • ngx.say
  • ngx.semaphore
  • ngx.send_headers
  • ngx.sha1_bin
  • ngx.shared.DICT
  • ngx.shared.DICT.add
  • ngx.shared.DICT.delete
  • ngx.shared.DICT.flush_all
  • ngx.shared.DICT.flush_expired
  • ngx.shared.DICT.get
  • ngx.shared.DICT.get_keys
  • ngx.shared.DICT.get_stale
  • ngx.shared.DICT.incr
  • ngx.shared.DICT.llen
  • ngx.shared.DICT.lpop
  • ngx.shared.DICT.lpush
  • ngx.shared.DICT.replace
  • ngx.shared.DICT.rpop
  • ngx.shared.DICT.rpush
  • ngx.shared.DICT.safe_add
  • ngx.shared.DICT.safe_set
  • ngx.shared.DICT.set
  • ngx.sleep
  • ngx.socket.connect
  • ngx.socket.stream
  • ngx.socket.tcp
  • ngx.socket.udp
  • ngx.ssl
  • ngx.status
  • ngx.thread.kill
  • ngx.thread.spawn
  • ngx.thread.wait
  • ngx.time
  • ngx.timer.at
  • ngx.timer.pending_count
  • ngx.timer.running_count
  • ngx.today
  • ngx.unescape_uri
  • ngx.update_time
  • ngx.utctime
  • ngx.var.VARIABLE
  • ngx.worker.count
  • ngx.worker.exiting
  • ngx.worker.id
  • ngx.worker.pid
  • print
  • tcpsock:close
  • tcpsock:connect
  • tcpsock:getreusedtimes
  • tcpsock:receive
  • tcpsock:receiveuntil
  • tcpsock:send
  • tcpsock:setkeepalive
  • tcpsock:setoption
  • tcpsock:settimeout
  • tcpsock:settimeouts
  • tcpsock:sslhandshake
  • udpsock:close
  • udpsock:receive
  • udpsock:send
  • udpsock:setpeername
  • udpsock:settimeout
  • Index

  • index