pause_message


Description:

[ Version ( deprecated = true , deprecated_since = "3.2" ) ]
public void pause_message (ServerMessage msg)

Warning: pause_message is deprecated since 3.2.

Pauses I/O on msg.

Note:

Use 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 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 ServerMessage associated with this.