Implementation:SeleniumHQ Selenium CivetServer Header
| Knowledge Sources | |
|---|---|
| Domains | C_Plus_Plus, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored C++ header defining the CivetServer class hierarchy for the CivetWeb embedded HTTP server.
Description
Declares the C++ class hierarchy for the CivetWeb server wrapper: CivetException (error handling), CivetHandler (HTTP request handler interface with virtual methods for GET, POST, HEAD, PUT, PATCH, DELETE, OPTIONS), CivetAuthHandler (authentication handler), CivetWebSocketHandler (WebSocket protocol handler), and CivetServer (main server class). All handler implementations must be reentrant. Licensed under MIT (No Face Press, LLC / CivetWeb developers).
Usage
Included by Selenium's IE WebDriver native C++ components to embed an HTTP server.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/cpp/civetweb/CivetServer.h
Key Classes
class CIVETWEB_API CivetException : public std::runtime_error { ... };
class CIVETWEB_API CivetHandler { ... }; // HTTP request handler interface
class CIVETWEB_API CivetAuthHandler { ... }; // Authentication handler
class CIVETWEB_API CivetWebSocketHandler { ... }; // WebSocket handler
class CIVETWEB_API CivetServer { ... }; // Main server class