> For the complete documentation index, see [llms.txt](https://http3-explained.haxx.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://http3-explained.haxx.se/ro/quic/quic-api.md).

# API

Unul dintre motivele succesului pentru TCP-ul obșinuit și programele care îl folosesc este că folosesc un API de socket-uri standardizat. Are funcționalități bine definite și poți muta programe între sisteme de operare diferite, iar TCP funcționează la fel.

QUIC încă nu a ajuns la acest nivel. Nu există un standard de API pentru QUIC.

Cu QUIC, ai nevoie să alegi una dintre librăriile deja implementate și să rămâi la API-ul ei. Asta face, la un anumit nivel, ca aplicațiile să fie "legate" de o singură librărie. Schimbarea la o altă librărie înseamnă un alt API, iar asta poate implica foarte multă muncă.

De asemenea, de vreme ce QUIC este implementat, de obicei, în user-space, nu poate să extindă pur și simplu API-ul socket-urilor sau să arate la fel ca funcționalitățile existente TCP și UDP. Folosirea QUIC va însemna folosirea unui alt API decât cel al socket-urilor.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://http3-explained.haxx.se/ro/quic/quic-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
