Functions | Variables
form_submit.c File Reference
#include <stdio.h>
#include <string.h>
#include "mongoose.h"
Include dependency graph for form_submit.c:

Go to the source code of this file.

Functions

static int ev_handler (struct mg_connection *conn, enum mg_event ev)
 
int main (void)
 
static void send_reply (struct mg_connection *conn)
 

Variables

static const char * html_form
 

Function Documentation

static int ev_handler ( struct mg_connection conn,
enum mg_event  ev 
)
static

Definition at line 38 of file form_submit.c.

int main ( void  )

Definition at line 49 of file form_submit.c.

static void send_reply ( struct mg_connection conn)
static

Definition at line 13 of file form_submit.c.

Variable Documentation

const char* html_form
static
Initial value:
=
"<html><body>POST example."
"<form method=\"POST\" action=\"/handle_post_request\">"
"Input 1: <input type=\"text\" name=\"input_1\" /> <br/>"
"Input 2: <input type=\"text\" name=\"input_2\" /> <br/>"
"<input type=\"submit\" />"
"</form></body></html>"

Definition at line 5 of file form_submit.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17