22#ifndef PROTOCORE_H2_SERVER_H
23#define PROTOCORE_H2_SERVER_H
27#if PC_ENABLE_HTTP2 && PC_ENABLE_TLS
33void pc_h2_server_open(uint8_t slot);
36void pc_h2_server_data(uint8_t slot);
42bool pc_h2_server_respond(uint8_t slot,
int code,
const char *content_type,
const char *body,
size_t len);
45void pc_h2_server_close(uint8_t slot);
User-facing configuration for ProtoCore.