Virtual Method

ValentChannelstore_data

unstable since: 1.0

Declaration [src]

void
store_data (
  ValentChannel* channel,
  ValentContext* context
)

Description [src]

Store channel metadata.

This method is called to store channel specific data. The default implementation stores the peer certificate.

Implementations that override Valent.ChannelClass.store_data must chain-up.

Available since: 1.0

Parameters

context

Type: ValentContext

A ValentContext.

The data is owned by the caller of the method.