Skip to content
Back to skills

Client And Protocols

ASecurity

"Use Jina Client calls, protocol selection, streaming, retries,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
devopspythondockerkubernetesdebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill client-and-protocols --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Client And Protocols?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Client And Protocols
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-client-and-protocols/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-client-and-protocols)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: client-and-protocols
description: "Use Jina Client calls, protocol selection, streaming, retries,
  callbacks, request parameters, and target-executor routing."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Client and Protocols

Use this sub-skill when a task involves sending requests to a running Flow or Deployment, selecting gRPC/HTTP/WebSocket protocols, configuring retries or callbacks, streaming generators, or debugging protocol/TLS and request-routing problems.

## Read first

- [Client API](references/client-api.md) for `Client` construction and `post()` semantics.
- [Streaming and retries](references/streaming-and-retries.md) for async clients, callbacks, batching, target executors, and failure handling.
- [Troubleshooting](references/troubleshooting.md) for protocol mismatch, TLS, callback, retry, ordering, and streaming issues.
- Use [smoke_client_roundtrip.py](scripts/smoke_client_roundtrip.py) for a tiny local roundtrip check when a Flow or Deployment is already running.

## Quick example

```python
from jina import Client
from docarray import BaseDoc

client = Client(host="grpc://localhost:12345")
resp = client.post("/", BaseDoc(), return_responses=True)
```

## Boundaries

- This sub-skill owns the caller side. Use [orchestration-and-deployment](../orchestration-and-deployment/SKILL.md) to create or configure the Flow/Gateway being called.
- Use [executor-service-patterns](../executor-service-patterns/SKILL.md) for request endpoint definitions and service logic.
- Use [observability-and-production](../observability-and-production/SKILL.md) for endpoint health, service mesh, Docker/Kubernetes, and production connectivity.

Files in this skill

  • SKILL.md1.7 KB
  • references/client-api.md1.7 KB
  • references/streaming-and-retries.md1.2 KB
  • references/troubleshooting.md1.3 KB
  • scripts/smoke_client_roundtrip.py918 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.