Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

JavaScript-Funktionen > void start (object)

void start (object)

Die Funktion start() wird innerhalb von List-Funktionen verwendet. Sie sendet Header-Informationen der Antwort. Mit den Eigenschaften code und headers können Sie Header-Informationen für Ihre Antwort bestimmen, z.B. so:

function(head, req) {
  start({"code": 302, "headers": {"Location": "/"}});
}


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial