Function build_core_service_from_config

Source
pub async fn build_core_service_from_config(
    stdio_client_config: Option<StdioClientConfig>,
    http_client_config: Option<HttpClientConfig>,
) -> Result<BoxedService<CoreRequest, CoreResponse>, ServiceError>
Expand description

Create a core service client that communicates with stdio or HTTP. If http_client_config is provided, an HTTP client will be created. Otherwise, a stdio client is created. Useful for frontends.