Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 874 Bytes

tcpsocksetoption.md

File metadata and controls

26 lines (15 loc) · 874 Bytes

tcpsock:setoption

语法: tcpsock:setoption(option, value?)

环境: rewrite_by_lua, access_by_lua*, content_by_lua*, ngx.timer.**

该函数是为兼容 LuaSocket API,目前没做任何事情。它的功能将在将来实现。

该特性是在 v0.5.0rc1 版本首次引入的。

返回目录

English source:

tcpsock:setoption

syntax: tcpsock:setoption(option, value?)

context: rewrite_by_lua, access_by_lua*, content_by_lua*, ngx.timer.**

This function is added for LuaSocket API compatibility and does nothing for now. Its functionality will be implemented in future.

This feature was first introduced in the v0.5.0rc1 release.

Back to TOC