pause_message


Description:

public void pause_message (Message msg)

Pauses I/O on msg.

Note:

Use soup_server_message_pause instead.

This can be used when you need to return from the server handler without having the full response ready yet. Use [ method@Server.unpause_message] to resume I/O.

This must only be called on a [class@ServerMessage] which was created by the [class@Server] and are currently doing I/O, such as those passed into a [callback@ServerCallback] or emitted in a [signal@Server:SoupServer:request-read] signal.

Parameters:

this

a Server

msg

a SoupServerMessage associated with this.