aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/api/closeevent
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/it/web/api/closeevent
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/it/web/api/closeevent')
-rw-r--r--files/it/web/api/closeevent/index.html197
1 files changed, 0 insertions, 197 deletions
diff --git a/files/it/web/api/closeevent/index.html b/files/it/web/api/closeevent/index.html
deleted file mode 100644
index 4d534f6858..0000000000
--- a/files/it/web/api/closeevent/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
----
-title: CloseEvent
-slug: Web/API/CloseEvent
-translation_of: Web/API/CloseEvent
----
-<p>{{APIRef("Websockets API")}}</p>
-
-<p>Un evento di tipo <code>CloseEvent</code> viene inviato al client tramite <a href="/en-US/docs/Glossary/WebSockets">WebSockets</a> in fase di chiusura della connessione. Questo viene ricevuto dal <em>listener</em> registrato sull'attributo <strong style="font-family: courier new,andale mono,monospace; font-weight: bold;">onclose </strong>dell'oggetto di tipo <code>WebSocket</code>.</p>
-
-<h2 id="Attributes" name="Attributes">Costruttore</h2>
-
-<dl>
- <dt>{{domxref("CloseEvent.CloseEvent", "CloseEvent()")}}</dt>
- <dd>Crea un nuovo <code>CloseEvent</code>.</dd>
-</dl>
-
-<h2 id="Attributes" name="Attributes">Proprietà</h2>
-
-<dl>
- <dt>{{domxref("CloseEvent.code")}} {{readOnlyInline}}</dt>
- <dd>Restituisce un <code>unsigned short</code> che contiene il codice di chiusura inviato dal server. Questi sono i valori ammessi.
- <table class="standard-table">
- <tbody>
- <tr>
- <td class="header">Status code</td>
- <td class="header">Name</td>
- <td class="header">Description</td>
- </tr>
- <tr>
- <td><code>0</code>–<code>999</code></td>
- <td> </td>
- <td><strong>Riservati e non usati.</strong></td>
- </tr>
- <tr>
- <td><code>1000</code></td>
- <td><code>CLOSE_NORMAL</code></td>
- <td>Chiusura normale; la connessione si è conclusa normalmente, qualsiasi fosse il suo scopo.</td>
- </tr>
- <tr>
- <td><code>1001</code></td>
- <td><code>CLOSE_GOING_AWAY</code></td>
- <td>L'<em>endpoint</em> se ne è andato, o per un errore del server oppure perché la pagina che ha aperto la connessione non è più attiva.</td>
- </tr>
- <tr>
- <td><code>1002</code></td>
- <td><code>CLOSE_PROTOCOL_ERROR</code></td>
- <td><span style="background-color: rgba(212, 221, 228, 0.14902);">L'</span><em>endpoint</em><span style="background-color: rgba(212, 221, 228, 0.14902);"> </span>ha terminato la connessione per un errore di protocollo.</td>
- </tr>
- <tr>
- <td><code>1003</code></td>
- <td><code>CLOSE_UNSUPPORTED</code></td>
- <td>La connessione è stata terminata perché l'<em>endpoint</em> ha ricevuto dei dati che non può accettare (per esempio, dati binari a fronte di un <em>endpoint</em> che consuma solo testo).</td>
- </tr>
- <tr>
- <td><code>1004</code></td>
- <td> </td>
- <td><strong>Riservato.</strong> In futuro potrebbe esserne rivelato l'uso.</td>
- </tr>
- <tr>
- <td><code>1005</code></td>
- <td><code>CLOSE_NO_STATUS</code></td>
- <td><strong>Riservato.</strong> Indica che non è stato ricevuto nessuno stato di chiusura sebbene fosse atteso.</td>
- </tr>
- <tr>
- <td><code>1006</code></td>
- <td><code>CLOSE_ABNORMAL</code></td>
- <td><strong>Riservato.</strong> Usato per indicare che la connessione è stata chiusa in modo anomalo (cioè, cioè senza l'invio del <em>frame</em> di chiusura) dove invece era atteso un codice di chiusura.</td>
- </tr>
- <tr>
- <td><code>1007</code></td>
- <td> </td>
- <td>L'<em>endpoint</em> ha terminato la connessione perché ha ricevuto un messaggio con dati inconsistenti (<span style="line-height: 1.572;">per esempio, dati non-UTF-8 all'interno di un messaggio testuale).</span></td>
- </tr>
- <tr>
- <td><code>1008</code></td>
- <td> </td>
- <td><span style="background-color: rgba(212, 221, 228, 0.14902);">L'</span><em>endpoint</em><span style="background-color: rgba(212, 221, 228, 0.14902);"> </span>ha terminato la connessione perché ha ricevuto un messaggio che viola la sua politica. E' un codice generico, quando 1003 e 1009 non sono adatti.</td>
- </tr>
- <tr>
- <td><code>1009</code></td>
- <td><code>CLOSE_TOO_LARGE</code></td>
- <td><span style="background-color: rgba(212, 221, 228, 0.14902);">L'</span><em>endpoint</em><span style="background-color: rgba(212, 221, 228, 0.14902);"> </span>ha terminato la connessione perché ha ricevuto un frame di dati troppo grande.</td>
- </tr>
- <tr>
- <td><code>1010</code></td>
- <td> </td>
- <td>Il client ha terminato la connessione perché era attesa una negoziazione di una o più "estensioni" del protocollo che però non è avvenuta.</td>
- </tr>
- <tr>
- <td><code>1011</code></td>
- <td> </td>
- <td>Il server ha terminato la connessione perché ha incontrato una condizione inattesa che gli ha impedito di completare la richiesta.</td>
- </tr>
- <tr>
- <td><code>1012</code>–<code>1014</code></td>
- <td> </td>
- <td><strong>Riservati per usi futuri dallo standard WebSocket.</strong></td>
- </tr>
- <tr>
- <td><code>1015</code></td>
- <td> </td>
- <td><strong>Riservato.</strong> Indica che la connessione è stata chiusa a causa di un fallimento dell'<em>handshake</em> TLS (per esempio, il certificato del server non può essere verificato).</td>
- </tr>
- <tr>
- <td><code>1016</code>–<code>1999</code></td>
- <td> </td>
- <td><strong>Riservati per usi futuri dallo standard WebSocket.</strong></td>
- </tr>
- <tr>
- <td><code>2000</code>–<code>2999</code></td>
- <td> </td>
- <td><strong>Riservati per estensioni WebSocket.</strong></td>
- </tr>
- <tr>
- <td><code>3000</code>–<code>3999</code></td>
- <td> </td>
- <td>Disponibili per librerie e <em>framework</em>. <strong>Meglio non</strong> usarli nelle applicazioni.</td>
- </tr>
- <tr>
- <td><code>4000</code>–<code>4999</code></td>
- <td> </td>
- <td>Disponibili per essere utilizzati dalle applicazioni.</td>
- </tr>
- </tbody>
- </table>
- </dd>
- <dt>{{domxref("CloseEvent.reason")}} {{readOnlyInline}}</dt>
- <dd>Restituisce un {{ domxref("DOMString") }} che indica la ragione per cui il server ha chiuso la connessione. Questo dipende dal particolare server e sotto-protocollo.</dd>
- <dt>{{domxref("CloseEvent.wasClean")}} {{readOnlyInline}}</dt>
- <dd>Restituisce un {{jsxref("Boolean")}} che indica se la connessione è stata chiusa senza problemi o meno.</dd>
-</dl>
-
-<p> </p>
-
-<h2 id="Compatibilità_con_i_browser">Compatibilità con i browser</h2>
-
-<p> </p>
-
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("8.0") }} [1][2]</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("8.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prima di Gecko 8.0 {{ geckoRelease("8.0") }}, Gecko inviava l'evento WebSocket {{event("close")}} come semplice evento. Il supporto al <code>CloseEvent</code> è stato implementato in Gecko 8.0.</p>
-
-<p>[2] Prima di Gecko 12.0 {{ geckoRelease("12.0") }}, Gecko restituiva il codice di chiusura <code>CLOSE_NORMAL</code> anche quando il canale veniva chiuso a causa di un errore inatteso, o anche a causa di un errore non coperto dalla specifica. Adesso viene restituito <code>CLOSE_GOING_AWAY</code>.</p>
-
-<h2 id="Vedi_anche">Vedi anche</h2>
-
-<ul>
- <li><a href="/en/WebSockets/WebSockets_reference/WebSocket" title="en/WebSockets/WebSockets reference/WebSocket"><code>WebSocket</code></a></li>
-</ul>
-
-<p> </p>