Skip to content

Commit dfc9bc1

Browse files
authored
doc: ngx.req.socket should be put near its description (#276)
1 parent 740ee00 commit dfc9bc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,10 @@ other stream modules.
319319
`ngx.ERR`, `ngx.WARN`, and etc.
320320
* [print](https://github.com/openresty/lua-nginx-module#print)
321321
* [ngx.ctx](https://github.com/openresty/lua-nginx-module#ngxctx)
322-
* [ngx.req.socket](https://github.com/openresty/lua-nginx-module#ngxreqsocket)
323322
* [ngx.balancer](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md)
324323

324+
* [ngx.req.socket](https://github.com/openresty/lua-nginx-module#ngxreqsocket)
325+
325326
Only raw request sockets are supported, for obvious reasons. The `raw` argument value
326327
is ignored and the raw request socket is always returned. Unlike ngx_http_lua,
327328
you can still call output API functions like `ngx.say`, `ngx.print`, and `ngx.flush`

0 commit comments

Comments
 (0)