From faadd2386c8ab7cf15347cfd2131d4c26a6abdc2 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 21 Jan 2015 14:01:19 -0800 Subject: [PATCH] Add some documentation --- include/grpc/grpc_http.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/grpc/grpc_http.h b/include/grpc/grpc_http.h index a025f8607d6..b2ae5340a56 100644 --- a/include/grpc/grpc_http.h +++ b/include/grpc/grpc_http.h @@ -38,6 +38,20 @@ extern "C" { #endif +/* HTTP GET support. + + HTTP2 servers can publish statically generated text content served + via HTTP2 GET queries by publishing one or more grpc_http_server_page + elements via repeated GRPC_ARG_SERVE_OVER_HTTP elements in the servers + channel_args. + + This is not: + - a general purpose web server + - particularly fast + + It's useful for being able to serve up some static content (maybe some + javascript to be able to interact with your GRPC server?) */ + typedef struct { const char *path; const char *content_type;