aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-04-09 23:25:56 +0300
committerLoïc Hoguin <[email protected]>2015-04-09 23:25:56 +0300
commit3c051509d6b211dc4b369ba716b08d24135f29f2 (patch)
treeebfb7e395f8a8c8b2b6b97bf4c432526021b532b /doc
parenta738db07c2040461f0fd431f04ecf90b157ead5b (diff)
downloadgun-3c051509d6b211dc4b369ba716b08d24135f29f2.tar.gz
gun-3c051509d6b211dc4b369ba716b08d24135f29f2.tar.bz2
gun-3c051509d6b211dc4b369ba716b08d24135f29f2.zip
Remove outdated todos
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/http.asciidoc5
-rw-r--r--doc/src/guide/websocket.asciidoc2
-rw-r--r--doc/src/manual/gun.asciidoc5
3 files changed, 1 insertions, 11 deletions
diff --git a/doc/src/guide/http.asciidoc b/doc/src/guide/http.asciidoc
index 5a69fa1..465a4c5 100644
--- a/doc/src/guide/http.asciidoc
+++ b/doc/src/guide/http.asciidoc
@@ -132,11 +132,6 @@ know it in advance, although this is not required. If it
is not set, HTTP/1.1 will use the chunked transfer-encoding,
and SPDY will continue normally as it is chunked by design.
-@todo Stop relying on transfer encoding header in Gun
-
-@todo SPDY needs to remove invalid headers, and to detect
-a body if content-length is set
-
.POST "/organizations/ninenines" with delayed body
[source,erlang]
diff --git a/doc/src/guide/websocket.asciidoc b/doc/src/guide/websocket.asciidoc
index 011e457..23c5030 100644
--- a/doc/src/guide/websocket.asciidoc
+++ b/doc/src/guide/websocket.asciidoc
@@ -14,8 +14,6 @@ HTTP/1.1 connections can be upgraded to Websocket, so you might
need to restrict the protocol to HTTP/1.1 if you are planning
to use Websocket over TLS.
-@todo add option to disable specific protocols
-
You must use the `gun_ws:upgrade/{2,3}` function to upgrade
to Websocket. This function can be called anytime after connection,
so you can send HTTP requests before upgrading to Websocket.
diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc
index b487eee..902af9a 100644
--- a/doc/src/manual/gun.asciidoc
+++ b/doc/src/manual/gun.asciidoc
@@ -139,9 +139,6 @@ A resource pushed alongside an HTTP response.
This message can only be sent when the protocol is SPDY.
-@todo we probably want a function to know what protocol we connected
-@todo with or perhaps a message on connect that tells us that
-
@todo I fear we also need the scheme; resource is identified by URI
@todo Perhaps we really should send the URI entirely, because cache
@todo relies on URI to work and this feature is for caching...
@@ -649,7 +646,7 @@ Opts = map():: Options for the Websocket connection.
Request the connection to be upgraded to the Websocket protocol.
-@todo Only possible for HTTP.
+This function can only be used when the current protocol is `http`.
=== ws_send(ConnPid, Frames) -> ok