---
title: "Streams `numbytes` bytes of `*` over `duration` seconds."
url: "https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8/operations/drip_handler"
---

> Full API specification: https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8.md

# Streams `numbytes` bytes of `*` over `duration` seconds.

`GET` `/drip`

Operation ID: `drip_handler`

## Query parameters

- `numbytes` (integer, optional) - Total bytes to emit (default 10, max 10000)
- `duration` (integer, int64, optional) - Total stream duration in seconds (default 2, max 300)
- `code` (integer, int32, optional) - Status code on the response (default 200)
- `delay` (integer, int64, optional) - Initial delay before first byte in seconds (default 0, max 300)

## Responses

- `200` - Bytes streamed slowly
- `400` - Parameter exceeds cap or invalid status code

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: rucho
  version: 1.6.0
servers:
  - url: https://rucho.org
    description: Production (EKS us-east-2, behind Kong)
paths:
  /drip:
    get:
      tags:
        - crate::routes::drip
      summary: Streams `numbytes` bytes of `*` over `duration` seconds.
      operationId: drip_handler
      parameters:
        - name: numbytes
          in: query
          description: Total bytes to emit (default 10, max 10000)
          required: false
          schema:
            type: integer
            nullable: true
            minimum: 0
        - name: duration
          in: query
          description: Total stream duration in seconds (default 2, max 300)
          required: false
          schema:
            type: integer
            format: int64
            nullable: true
            minimum: 0
        - name: code
          in: query
          description: Status code on the response (default 200)
          required: false
          schema:
            type: integer
            format: int32
            nullable: true
            minimum: 0
        - name: delay
          in: query
          description: Initial delay before first byte in seconds (default 0, max 300)
          required: false
          schema:
            type: integer
            format: int64
            nullable: true
            minimum: 0
      responses:
        "200":
          description: Bytes streamed slowly
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        "400":
          description: Parameter exceeds cap or invalid status code
```
