Hubwiz.com
|
Online Course
|
API Manual
OpenResty API Manual
Directive(171)
Function(201)
Variable(14)
Method(88)
Constant(20)
Class(3)
Command(14)
Directive
xss_get
xss_callback_arg
xss_override_status
xss_check_status
xss_input_types
srcache_fetch
srcache_fetch_skip
srcache_store
srcache_store_max_size
srcache_store_skip
srcache_store_statuses
srcache_store_ranges
srcache_header_buffer_size
srcache_store_hide_header
srcache_store_pass_header
srcache_methods
srcache_ignore_content_encoding
srcache_request_cache_control
srcache_response_cache_control
srcache_store_no_store
srcache_store_no_cache
srcache_store_private
srcache_default_expire
srcache_max_expire
array_split
array_join
array_map
array_map_op
set_if_empty
set_quote_sql_str
set_quote_pgsql_str
set_quote_json_str
set_unescape_uri
set_escape_uri
set_hashed_upstream
set_encode_base32
set_base32_padding
set_misc_base32_padding
set_base32_alphabet
set_decode_base32
set_encode_base64
set_decode_base64
set_encode_hex
set_decode_hex
set_sha1
set_md5
set_hmac_sha1
set_random
set_secure_random_alphanum
set_secure_random_lcalpha
set_rotate
set_local_today
set_formatted_gmt_time
set_formatted_local_time
rds_json
rds_json_buffer_size
rds_json_format
rds_json_root
rds_json_success_property
rds_json_user_property
rds_json_errcode_key
rds_json_errstr_key
rds_json_ret
rds_json_content_type
encrypted_session_key
encrypted_session_iv
encrypted_session_expires
set_encrypt_session
set_decrypt_session
drizzle_server
drizzle_keepalive
drizzle_query
drizzle_pass
drizzle_connect_timeout
drizzle_send_query_timeout
drizzle_recv_cols_timeout
drizzle_recv_rows_timeout
drizzle_buffer_size
drizzle_module_header
drizzle_status
rds_csv
rds_csv_row_terminator
rds_csv_field_separator
rds_csv_field_name_header
rds_csv_content_type
rds_csv_buffer_size
more_set_headers
more_clear_headers
more_set_input_headers
more_clear_input_headers
redis2_query
redis2_raw_query
redis2_raw_queries
redis2_literal_raw_query
redis2_pass
redis2_connect_timeout
redis2_send_timeout
redis2_read_timeout
redis2_buffer_size
redis2_next_upstream
memc_pass
memc_cmds_allowed
memc_flags_to_last_modified
memc_connect_timeout
memc_send_timeout
memc_read_timeout
memc_buffer_size
memc_ignore_client_abort
lua_use_default_type
lua_code_cache
lua_regex_cache_max_entries
lua_regex_match_limit
lua_package_path
lua_package_cpath
init_by_lua
init_by_lua_block
init_by_lua_file
init_worker_by_lua
init_worker_by_lua_block
init_worker_by_lua_file
set_by_lua
set_by_lua_block
set_by_lua_file
content_by_lua
content_by_lua_block
content_by_lua_file
rewrite_by_lua
rewrite_by_lua_block
rewrite_by_lua_file
access_by_lua
access_by_lua_block
access_by_lua_file
header_filter_by_lua
header_filter_by_lua_block
header_filter_by_lua_file
body_filter_by_lua
body_filter_by_lua_block
body_filter_by_lua_file
log_by_lua
log_by_lua_block
log_by_lua_file
balancer_by_lua_block
balancer_by_lua_file
lua_need_request_body
ssl_certificate_by_lua_block
ssl_certificate_by_lua_file
ssl_session_fetch_by_lua_block
ssl_session_fetch_by_lua_file
ssl_session_store_by_lua_block
ssl_session_store_by_lua_file
lua_shared_dict
lua_socket_connect_timeout
lua_socket_send_timeout
lua_socket_send_lowat
lua_socket_read_timeout
lua_socket_buffer_size
lua_socket_pool_size
lua_socket_keepalive_timeout
lua_socket_log_errors
lua_ssl_ciphers
lua_ssl_crl
lua_ssl_protocols
lua_ssl_trusted_certificate
lua_ssl_verify_depth
lua_http10_buffering
rewrite_by_lua_no_postpone
access_by_lua_no_postpone
lua_transform_underscores_in_response_headers
lua_check_client_abort
lua_max_pending_timers
lua_max_running_timers
Function
postgres_server
postgres_keepalive
postgres_pass
postgres_query
postgres_rewrite
postgres_output
postgres_set
postgres_escape
postgres_connect_timeout
postgres_result_timeout
$postgres_columns
$postgres_rows
$postgres_affected
$postgres_query
echo
echo_duplicate
echo_flush
echo_sleep
echo_blocking_sleep
echo_reset_timer
echo_read_request_body
echo_location_async
echo_location
echo_subrequest_async
echo_subrequest
echo_foreach_split
echo_end
echo_request_body
echo_exec
echo_status
echo_before_body
echo_after_body
get_upstreams
get_servers
get_primary_peers
get_backup_peers
set_peer_down
current_upstream_name
parse_reply
parse_replies
typename
build_query
resty.core.hash
resty.core.base64
resty.core.uri
resty.core.regex
resty.core.exit
resty.core.shdict
resty.core.var
resty.core.ctx
resty.core.request
resty.core.response
resty.core.misc
resty.core.time
resty.core.worker
ngx.semaphore(lua-resty-core)
ngx.balancer(lua-resty-core)
ngx.ssl(lua-resty-core)
ngx.ssl.session
Introduction
ngx.arg
ngx.var.VARIABLE
Core constants
HTTP method constants
HTTP status constants
Nginx log level constants
print
ngx.ctx
ngx.location.capture
ngx.location.capture_multi
ngx.status
ngx.header.HEADER
ngx.resp.get_headers
ngx.req.is_internal
ngx.req.start_time
ngx.req.http_version
ngx.req.raw_header
ngx.req.get_method
ngx.req.set_method
ngx.req.set_uri
ngx.req.set_uri_args
ngx.req.get_uri_args
ngx.req.get_post_args
ngx.req.get_headers
ngx.req.set_header
ngx.req.clear_header
ngx.req.read_body
ngx.req.discard_body
ngx.req.get_body_data
ngx.req.get_body_file
ngx.req.set_body_data
ngx.req.set_body_file
ngx.req.init_body
ngx.req.append_body
ngx.req.finish_body
ngx.req.socket
ngx.exec
ngx.redirect
ngx.send_headers
ngx.headers_sent
ngx.print
ngx.say
ngx.log
ngx.flush
ngx.exit
ngx.eof
ngx.sleep
ngx.escape_uri
ngx.unescape_uri
ngx.encode_args
ngx.decode_args
ngx.encode_base64
ngx.decode_base64
ngx.crc32_short
ngx.crc32_long
ngx.hmac_sha1
ngx.md5
ngx.md5_bin
ngx.sha1_bin
ngx.quote_sql_str
ngx.today
ngx.time
ngx.now
ngx.update_time
ngx.localtime
ngx.utctime
ngx.cookie_time
ngx.http_time
ngx.parse_http_time
ngx.is_subrequest
ngx.re.match
ngx.re.find
ngx.re.gmatch
ngx.re.sub
ngx.re.gsub
ngx.shared.DICT
ngx.shared.DICT.get
ngx.shared.DICT.get_stale
ngx.shared.DICT.set
ngx.shared.DICT.safe_set
ngx.shared.DICT.add
ngx.shared.DICT.safe_add
ngx.shared.DICT.replace
ngx.shared.DICT.delete
ngx.shared.DICT.incr
ngx.shared.DICT.lpush
ngx.shared.DICT.rpush
ngx.shared.DICT.lpop
ngx.shared.DICT.rpop
ngx.shared.DICT.llen
ngx.shared.DICT.flush_all
ngx.shared.DICT.flush_expired
ngx.shared.DICT.get_keys
ngx.socket.udp
udpsock:setpeername
udpsock:send
udpsock:receive
udpsock:close
udpsock:settimeout
ngx.socket.stream
ngx.socket.tcp
tcpsock:connect
tcpsock:sslhandshake
tcpsock:send
tcpsock:receive
tcpsock:receiveuntil
tcpsock:close
tcpsock:settimeout
tcpsock:setoption
tcpsock:setkeepalive
tcpsock:getreusedtimes
ngx.socket.connect
ngx.get_phase
ngx.thread.spawn
ngx.thread.wait
ngx.thread.kill
ngx.on_abort
ngx.timer.at
ngx.timer.running_count
ngx.timer.pending_count
ngx.config.subsystem
ngx.config.debug
ngx.config.prefix
ngx.config.nginx_version
ngx.config.nginx_configure
ngx.config.ngx_lua_version
ngx.worker.exiting
ngx.worker.pid
ngx.worker.count
ngx.worker.id
ngx.semaphore(lua-nginx-module)
ngx.balancer(lua-nginx-module)
ngx.ssl(lua-nginx-module)
ngx.ocsp
ndk.set_var.DIRECTIVE
coroutine.create
coroutine.resume
coroutine.yield
coroutine.wrap
coroutine.running
coroutine.status
Variable
$echo_it
$echo_timer_elapsed
$echo_request_body
$echo_request_method
$echo_client_request_method
$echo_client_request_headers
$echo_cacheable_request_uri
$echo_request_uri
$echo_incr
$echo_response_status
$srcache_expire
$srcache_fetch_status
$srcache_store_status
$drizzle_thread_id
Method
new(lua-resty-mysql)
connect(lua-resty-mysql)
set_timeout(lua-resty-mysql)
set_keepalive(lua-resty-mysql)
get_reused_times(lua-resty-mysql)
close(lua-resty-mysql)
send_query
read_result
query(lua-resty-mysql)
server_ver
set_compact_arrays
new(lua-resty-dns)
query(lua-resty-dns)
tcp_query
set_timeout(lua-resty-dns)
compress_ipv6_addr
expand_ipv6_addr
arpa_str
reverse_query
new(lua-resty-websocket)
set_timeout(lua-resty-websocket)
send_text
send_binary
send_ping
send_pong
send_close
send_frame(lua-resty-websocket)
recv_frame(lua-resty-websocket)
client:new
client:connect
client:close
client:set_keepalive
client:set_timeout
client:send_text
client:send_binary
client:send_ping
client:send_pong
client:send_close
client:send_frame
client:recv_frame
recv_frame(lua-resty-websocket)
build_frame
send_frame(lua-resty-websocket)
new(lua-resty-redis)
connect(lua-resty-redis)
set_timeout(lua-resty-redis)
set_keepalive(lua-resty-redis)
get_reused_times(lua-resty-redis)
close(lua-resty-redis)
init_pipeline
commit_pipeline
cancel_pipeline
hmset
array_to_hash
read_reply
add_commands
new(lua-resty-lock)
lock
unlock
spawn_checker
status_page
new(lua-resty-memcached)
connect(lua-resty-memcached)
set(lua-resty-memcached)
set_timeout(lua-resty-memcached)
set_keepalive(lua-resty-memcached)
get_reused_times(lua-resty-memcached)
close(lua-resty-memcached)
add
replace
append
prepend
get(lua-resty-memcached)
gets
cas
touch
flush_all(lua-resty-memcached)
delete(lua-resty-memcached)
incr
decr
stats(lua-resty-memcached)
version(lua-resty-memcached)
quit
verbosity
new(lua-resty-lrucache)
set(lua-resty-lrucache)
get(lua-resty-lrucache)
delete(lua-resty-lrucache)
Constant
TYPE_A
TYPE_NS
TYPE_CNAME
TYPE_PTR
TYPE_MX
TYPE_TXT
TYPE_AAAA
TYPE_SRV
TYPE_SPF
CLASS_IN
SECTION_AN
SECTION_NS
SECTION_AR
BAD_REPLY
INTEGER_REPLY
ERROR_REPLY
STATUS_REPLY
BULK_REPLY
MULTI_BULK_REPLY
null
Class
resty.websocket.server
resty.websocket.client
resty.websocket.protocol
Command
get $memc_key
set $memc_key $memc_flags $memc_exptime $memc_value
add $memc_key $memc_flags $memc_exptime $memc_value
replace $memc_key $memc_flags $memc_exptime $memc_value
append $memc_key $memc_flags $memc_exptime $memc_value
prepend $memc_key $memc_flags $memc_exptime $memc_value
delete $memc_key
delete $memc_key $memc_exptime
incr $memc_key $memc_value
decr $memc_key $memc_value
flush_all(memc-nginx-module)
flush_all $memc_exptime
stats(memc-nginx-module)
version(memc-nginx-module)