aboutsummaryrefslogtreecommitdiff
path: root/files/tr/web/api/websocket/close/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/tr/web/api/websocket/close/index.html')
-rw-r--r--files/tr/web/api/websocket/close/index.html66
1 files changed, 0 insertions, 66 deletions
diff --git a/files/tr/web/api/websocket/close/index.html b/files/tr/web/api/websocket/close/index.html
deleted file mode 100644
index 44d935c025..0000000000
--- a/files/tr/web/api/websocket/close/index.html
+++ /dev/null
@@ -1,66 +0,0 @@
----
-title: WebSocket.close()
-slug: Web/API/WebSocket/close
-tags:
- - API
- - Web API
- - WebSocket
- - Yöntem
-translation_of: Web/API/WebSocket/close
----
-<p>{{APIRef("Web Sockets API")}}</p>
-
-<p><strong><code>WebSocket.close()</code></strong> yöntemi, eğer varsa, {{domxref("WebSocket")}} bağlantısını kapatır. Eğer bağlantı zaten <code>CLOSED</code> ise, hiç bir şey yapmaz.</p>
-
-<h2 id="Sözdizim">Sözdizim</h2>
-
-<pre class="syntaxbox">WebSocket.close();</pre>
-
-<h3 id="Parametreler">Parametreler</h3>
-
-<dl>
- <dt><code>code</code> {{optional_inline}}</dt>
- <dd>Bir bağlantının neden kapandığını açıklayan durum kodunu belirten bir sayısal değerdir. Eğer parametre belirtilmediyse, varsayılan değer olan <code>1005</code> kullanılır. Ayrıca {{domxref("CloseEvent")}} için izin verilen <a href="/tr/docs/Web/API/CloseEvent#Durum_kodları">durum kodu listesine</a> bakınız.</dd>
-</dl>
-
-<dl>
- <dt><code>reason</code> {{optional_inline}}</dt>
- <dd>Neden bağlantının kapandığını belirten okunabilir bir dizidir. Bu dizi 123 byte boyutunda UTF-8 yazısından daha uzun olmamalıdır. <strong>(karakterler değil)</strong></dd>
-</dl>
-
-<h3 id="Olağandışı_durumlar">Olağandışı durumlar</h3>
-
-<dl>
- <dt><code>INVALID_ACCESS_ERR</code></dt>
- <dd><code>code</code> parametresine geçersiz bir durum kodu girildi.</dd>
- <dt><code>SYNTAX_ERR</code></dt>
- <dd><code>reason</code> dizisi çok uzun ya da eşleştirilmemiş naipler içeriyor.</dd>
-</dl>
-
-<div class="note">
-<p><strong>Not:</strong> Gecko'da, bu yöntem 8.0'dan önce hiç bir parametreyi desteklemiyor. {{geckoRelease("8.0")}}.</p>
-</div>
-
-<h2 id="Belirtimler">Belirtimler</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th>Belirtim</th>
- <th>Durum</th>
- <th>Yorum</th>
- </tr>
- <tr>
- <td><a class="external external-icon" href="https://html.spec.whatwg.org/multipage/web-sockets.html#dom-websocket-close" hreflang="en" lang="en">HTML Living Standard<br>
- <small lang="en-US">The definition of 'WebSocket.close()' in that specification.</small></a></td>
- <td><span class="spec-Living">Living Standard</span></td>
- <td>İlk tanım</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Tarayıcı_desteği">Tarayıcı desteği</h2>
-
-
-
-<p>{{Compat("api.WebSocket.close")}}</p>