You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -401,7 +401,7 @@ Represents an SSE-related error thrown from within Better SSE.
401
401
402
402
A `Connection` represents the underlying connection that a [`Session`](#sessionstate) manages, abstracting away the differences between the [Node HTTP/1](https://nodejs.org/docs/latest/api/http.html), [Node HTTP/2](https://nodejs.org/docs/latest/api/http2.html), [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) and any other APIs.
403
403
404
-
You can implement your own custom `Connection` subclass to make Better SSE compatible with any framework.
404
+
You can implement your own custom `Connection` subclass to make Better SSE compatible with any framework not already supported by the built-in connection types.
405
405
406
406
#### `Connection#url`: `URL`
407
407
@@ -457,38 +457,38 @@ Perform any necessary cleanup after the connection is closed.
457
457
458
458
The in-built `NodeHttp1Connection` represents a connection based on the Node [HTTP/1 API](https://nodejs.org/docs/latest/api/http.html).
`req` is an instance of [IncomingMessage](https://nodejs.org/api/http.html#http_class_http_incomingmessage).
463
463
464
464
`res` is an instance of [ServerResponse](https://nodejs.org/api/http.html#http_class_http_serverresponse).
465
465
466
-
<ConnectionOptions />
466
+
<BuiltInConnectionsOptions />
467
467
468
468
### `NodeHttp2CompatConnection`
469
469
470
470
*Extends from [Connection](#connection).*
471
471
472
472
The in-built `NodeHttp2CompatConnection` represents a connection based on the Node [HTTP/2 Compatibility API](https://nodejs.org/docs/latest/api/http2.html#compatibility-api).
0 commit comments