Skip to content

uWS.HttpResponse writes must be made from within a corked callback #5

Description

@jaredxx1

Hey,

I can't send body. I'm trying to run a proxy which forwards the requests to an origin server and gets the response back with fetch.

The error is: uWS.HttpResponse writes must be made from within a corked callback. See documentation for uWS.HttpResponse.cork and consult the user manual.

.cork does not exist on the response object as is in the original uWs lib.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions