write method

  1. @override
void write(
  1. Context ctx,
  2. String session
)
override

Writes session data to header named by name

Implementation

@override

/// Writes session data to header named by [name]
void write(Context ctx, String session) {
  ctx.response.headers.set(name, session);
}