promiseFinished() {
        return __awaiter(this, void 0, void 0, function* () {
            let [headers, status, trailers] = yield Promise.all([this.headers, this.status, this.trailers]);
            return {
                method: this.method,
                requestHeaders: this.requestHeaders,
                request: this.request,
                headers,
                status,
                trailers,
            };
        });
    }
Instead of awaiting the response status and trailers, you can
just as well await this call itself to receive the server outcome.
You should first setup some listeners to the `request` to
see the actual messages the server replied with.