serve abstract method
Future<AcpHttpServerBinding>
serve(
- AcpHttpServer server, {
- String host = '127.0.0.1',
- int port = 0,
- String path = '/acp',
- AcpWebSocketServer? webSocketServer,
Binds server at host, port, and path.
The loopback default is intentional. Authentication, TLS, CORS, rate limiting, quotas, and authorization remain host-application concerns.
Implementation
Future<AcpHttpServerBinding> serve(
AcpHttpServer server, {
String host = '127.0.0.1',
int port = 0,
String path = '/acp',
bool shared = false,
AcpWebSocketServer? webSocketServer,
});