Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (32 sloc) 1.271 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>reverse HTTP server using Node - experiment</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="nodestyles.css" />
</head>
<body>
<div id="wrapper">
<div class="full clear">
<div id="incoming" class="half left">
<h2>Incoming</h2>
<textarea>Nothing yet...</textarea>
</div>
<div id="response" class="half left">
<h2>Response</h2>
<textarea>"<h1>Hello world!</h1>";</textarea>
<p>Response is the output of the JavaScript above. Incoming data available as window.data</p>
</div>
</div>
<div class="full clear">
<h2>Log</h2>
<textarea id="log"></textarea>
</div>
</div>
<script type="text/javascript" src="jquery-1.4.2.js"></script>
<!-- NOTE: this next line does need to point to your socket.io client JS file -->
<script type="text/javascript" src="../Socket.IO-node/support/socket.io-client/socket.io.js"></script>
<script type="text/javascript">io.setPath("..Socket.IO-node/support/socket.io-client/");</script>
<script type="text/javascript" src="nodeclient.js"></script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.