Created
March 21, 2011 18:33
-
-
Save moonpolysoft/879937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http | http_bin | |
The Hypertext Transfer Protocol. The packets are returned with the format according to HttpPacket described in erlang:decode_packet/3. A socket in passive mode will return {ok, HttpPacket} from gen_tcp:recv while an active socket will send messages like {http, Socket, HttpPacket}. | |
Note that the packet type httph is not needed when reading from a socket. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment