bankai/service_protocol

Authenticated JSON-line protocol for the resident Bankai service.

This module owns credential decoding and the authorization gate. The supplied dispatch function receives only method/params data after authority has been established, so domain handlers remain credential-free.

Values

pub fn handle_line(
  workspace: String,
  line: String,
  dispatch: fn(String, List(String)) -> Result(String, String),
) -> String
Search Document