|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
This is the complete list of members for PC, including all inherited members.
| add_response_header(uint8_t slot_id, const char *name, const char *value) | PC | |
| begin(const WebServerConfig *cfg=nullptr) | PC | |
| begin(uint16_t port, const WebServerConfig *cfg=nullptr) | PC | |
| clear_response_headers(uint8_t slot_id) | PC | |
| defer(uint8_t slot, pc_deferred_fn fn, void *arg) const | PC | |
| enable_rate_limit(uint16_t max_requests, uint32_t window_ms) | PC | |
| handle() | PC | |
| http_poll_slot(uint8_t slot_id) | PC | |
| listen(uint16_t port, ConnProto proto=ConnProto::PROTO_HTTP) | PC | |
| mime_type(const char *path) | PC | static |
| on(const char *path, HttpMethod method, Handler callback) | PC | |
| on(const char *path, HttpMethod method, Handler callback, pc_iface iface) | PC | |
| on_not_found(Handler callback) | PC | |
| on_regex(const char *pattern, HttpMethod method, Handler callback) | PC | |
| on_request_log(RequestLogCb cb) | PC | |
| PC() | PC | |
| redirect(uint8_t slot_id, int code, const char *location) | PC | |
| restart(const WebServerConfig *cfg=nullptr) | PC | |
| send(uint8_t slot_id, int code, const char *content_type, const char *payload) | PC | |
| send(uint8_t slot_id, int code, const char *content_type, const uint8_t *body, size_t body_len) | PC | |
| send_chunked(uint8_t slot_id, int code, const char *content_type, ChunkSource source, void *ctx=nullptr) | PC | |
| send_empty(uint8_t slot_id, int code) | PC | |
| send_template(uint8_t slot_id, int code, const char *content_type, const char *tmpl, TemplateVar resolver) | PC | |
| service_once(int worker_id=0) | PC | |
| set_ap_ip(uint32_t ap_ip) | PC | |
| set_cache_control(const char *value) | PC | |
| set_cookie(uint8_t slot_id, const char *name, const char *value, const char *attrs=nullptr) | PC | |
| set_cors(const char *origin) | PC | |
| stop() | PC | |
| use(Middleware mw) | PC |