Skip to main content

handle_write

Function handle_write 

Source
pub async fn handle_write(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/hisWrite

Request grid meta must contain id (Ref). Rows contain ts and val columns. Data is stored in the in-memory HisStore.