Method

VarlinkServerMethodCallreply_muxer

Declaration [src]

DexFuture*
varlink_server_method_call_reply_muxer (
  VarlinkServerMethodCall* call,
  VarlinkMessage* parameters
)

Description [src]

Replies to a protocol upgrade request and creates a responder-side muxer.

This helper validates that call requested a protocol upgrade, sends the final successful reply, and resolves to a VarlinkMuxer over the upgraded protocol stream.

Parameters

parameters

Type: VarlinkMessage

Reply parameters.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture resolving to VarlinkMuxer.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.