diff --git a/index.d.ts b/index.d.ts index 62d66180..ee096efd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -124,13 +124,6 @@ export interface HttpResponse { * buffer, not in a hash table. You can read about this in * the user manual under "corking". */ - - /** Pause http body streaming (throttle) */ - pause() : void; - - /** Resume http body streaming (unthrottle) */ - resume() : void; - writeStatus(status: RecognizedString) : HttpResponse; /** Writes key and value to HTTP response. * See writeStatus and corking. @@ -224,10 +217,6 @@ export interface HttpRequest { export interface WebSocketBehavior { /** Maximum length of received message. If a client tries to send you a message larger than this, the connection is immediately closed. Defaults to 16 * 1024. */ maxPayloadLength?: number; - /** Whether or not we should automatically close the socket when a message is dropped due to backpressure. Defaults to false. */ - closeOnBackpressureLimit?: number; - /** Maximum number of minutes a WebSocket may be connected before being closed by the server. 0 disables the feature. */ - maxLifetime?: number; /** Maximum amount of seconds that may pass without sending or getting a message. Connection is closed if this timeout passes. Resolution (granularity) for timeouts are typically 4 seconds, rounded to closest. * Disable by using 0. Defaults to 120. */ diff --git a/source_commit b/source_commit index 0a0497bd..15c3248f 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -9c63b87c98a80d6b3eaf67ecf2252c5dd8dcbd28 +57a231a39bcb851a58b9128c55ae4c435cb3dab1