Add some documentation

pull/151/head
Craig Tiller 10 years ago
parent b7e0cb56be
commit faadd2386c
  1. 14
      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;

Loading…
Cancel
Save