accept_async


Description:

public async StreamTubeConnection accept_async () throws Error

Accept an incoming stream tube.

When the tube has been accepted, callback will be called. You can then call accept_async.end to get a StreamTubeConnection connected to the tube.

Parameters:

this

an incoming StreamTubeChannel

callback

a callback to call when the tube has been accepted

user_data

data to pass to callback




2022 vala-language.org