vertx / io.vertx.reactivex.core.http / HttpServerResponse / rxPush

# rxPush

`open fun rxPush(method: HttpMethod, path: String): Single<HttpServerResponse>`

Like `io.vertx.reactivex.core.http.HttpServerResponse#push` with the host copied from the current request.

### Parameters

`method` -

`path` -

Return

`open fun rxPush(method: HttpMethod, host: String, path: String, headers: MultiMap): Single<HttpServerResponse>`

Push a response to the client. The `handler` will be notified with a success when the push can be sent and with a failure when the client has disabled push or reset the push before it has been sent. The `handler` may be queued if the client has reduced the maximum number of streams the server can push concurrently. Push can be sent only for peer initiated streams and if the response is not ended.

### Parameters

`method` - the method of the promised request

`host` - the host of the promised request

`path` - the path of the promised request

`headers` - the headers of the promised request

Return