Skip to content

Commit

Permalink
api.markdown: remove instance of :end()
Browse files Browse the repository at this point in the history
the document incorrectly mentions :end(). We can't use end() because it
is reserved in lua.
  • Loading branch information
Brandon Philips committed Apr 12, 2012
1 parent feb7637 commit b691a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.markdown
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Half-closes the socket. i.e., it sends a FIN packet. It is possible the
server will still send some data. server will still send some data.


If `data` is specified, it is equivalent to calling If `data` is specified, it is equivalent to calling
`socket:write(data)` followed by `socket.end()`. `socket:write(data)` followed by `socket:finish()`.


#### Socket:initialize(options) #### Socket:initialize(options)


Expand Down

0 comments on commit b691a16

Please sign in to comment.