moonbridge

diff reference.txt @ 33:59f485dc48ea

Removed method request:send_text_status_response(...); Added helloworld.lua
author jbe
date Tue Feb 17 13:15:08 2015 +0100 (2015-02-17)
parents 72e3a705ea67
children 2d7e3028d993
line diff
     1.1 --- a/reference.txt	Tue Feb 17 04:10:38 2015 +0100
     1.2 +++ b/reference.txt	Tue Feb 17 13:15:08 2015 +0100
     1.3 @@ -361,16 +361,6 @@
     1.4  sent.
     1.5  
     1.6  
     1.7 -### request:send_text_status_response(status_string, text)
     1.8 -
     1.9 -Sends a HTTP status plus a response body of content-type "text/plain" and
    1.10 -finishes the request using request:finish(). The status_string has to be
    1.11 -provided in the same format as expected by request:send_status(...) and will
    1.12 -be included in the response body as plain text. The additional second "text"
    1.13 -argument will be appended to the reponse body (separated by an empty line) if
    1.14 -given.
    1.15 -
    1.16 -
    1.17  ### request.socket
    1.18  
    1.19  The underlaying socket. Can be used to force a TCP RST, etc.

Impressum / About Us