from

fun from(other: ServerResponse): ServerResponse.BodyBuilder

Create a builder with the status code and headers of the given response.

Return

the created builder

Since

5.1

Parameters

other

the response to copy the status and headers from