Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Devristo committed Dec 17, 2012
1 parent 379da55 commit ddabbf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Requirements

Server Example
---------------

```php
#!/php -q
<?php

Expand Down Expand Up @@ -120,11 +120,11 @@ Server Example
// Start server
$server = new DemoSocketServer();
$server->run();

```

Client Example
---------------------

```php
<?php
require_once("websocket.client.php");

Expand All @@ -142,3 +142,4 @@ Client Example

echo $msg->getData(); // Prints "Hello World!" when using the demo.php server
?>
```

0 comments on commit ddabbf4

Please sign in to comment.