Skip to content

Commit

Permalink
readme: remove misleading docstring
Browse files Browse the repository at this point in the history
PR-URL: #31
Reviewed-By: Fedor Indutny <fedor@indutny.com>
  • Loading branch information
derekargueta authored and indutny committed Oct 27, 2019
1 parent af8df6c commit 1e6bf60
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ settings.on_message_complete = handle_on_message_complete;
*/
llhttp_init(&parser, HTTP_BOTH, &settings);

/* Use `llhttp_set_type(&parser, HTTP_REQUEST);` to override the mode */

/* Parse request! */
const char* request = "GET / HTTP/1.1\r\n\r\n";
int request_len = strlen(request);
Expand Down

0 comments on commit 1e6bf60

Please sign in to comment.