Skip to content

Commit

Permalink
Merge pull request #30 from clue-labs/docs
Browse files Browse the repository at this point in the history
Minor documentation improvements
  • Loading branch information
clue authored Aug 5, 2021
2 parents 6c17119 + d13f137 commit ec3d153
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# clue/reactphp-ssh-proxy

[![CI status](https://github.com/clue/reactphp-ssh-proxy/workflows/CI/badge.svg)](https://github.com/clue/reactphp-ssh-proxy/actions)
[![Packagist Downloads](https://img.shields.io/packagist/dt/clue/reactphp-ssh-proxy?color=blue)](https://packagist.org/packages/clue/reactphp-ssh-proxy)
[![installs on Packagist](https://img.shields.io/packagist/dt/clue/reactphp-ssh-proxy?color=blue&label=installs%20on%20Packagist)](https://packagist.org/packages/clue/reactphp-ssh-proxy)

Async SSH proxy connector and forwarder, tunnel any TCP/IP-based protocol through an SSH server,
built on top of [ReactPHP](https://reactphp.org/).
Expand Down Expand Up @@ -72,7 +72,7 @@ Let's take these projects to the next level together! 🚀
## Quickstart example

The following example code demonstrates how this library can be used to send a
plaintext HTTP request to google.com through a remote SSH server:
secure HTTPS request to google.com through a remote SSH server:

```php
<?php
Expand All @@ -88,7 +88,7 @@ $connector = new React\Socket\Connector(array(

$browser = new React\Http\Browser($connector);

$browser->get('http://example.com/')->then(function (Psr\Http\Message\ResponseInterface $response) {
$browser->get('https://google.com/')->then(function (Psr\Http\Message\ResponseInterface $response) {
var_dump($response->getHeaders(), (string) $response->getBody());
}, function (Exception $e) {
echo 'Error: ' . $e->getMessage() . PHP_EOL;
Expand Down Expand Up @@ -358,7 +358,7 @@ $connector = new React\Socket\Connector(array(

$browser = new React\Http\Browser($connector);

$browser->get('http://example.com/')->then(function (Psr\Http\Message\ResponseInterface $response) {
$browser->get('https://google.com/')->then(function (Psr\Http\Message\ResponseInterface $response) {
var_dump($response->getHeaders(), (string) $response->getBody());
}, function (Exception $e) {
echo 'Error: ' . $e->getMessage() . PHP_EOL;
Expand Down Expand Up @@ -568,7 +568,7 @@ See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
This project aims to run on any platform and thus does not require any PHP
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
HHVM.
It's *highly recommended to use PHP 7+* for this project.
It's *highly recommended to use the latest supported PHP version* for this project.

This project is implemented as a lightweight process wrapper around the `ssh`
client binary, so you'll have to make sure that you have a suitable SSH client
Expand All @@ -586,7 +586,7 @@ Debian/Ubuntu-based systems, you may simply install it like this:
$ sudo apt install sshpass
```

*Running on [Windows is currently not supported](https://github.com/reactphp/child-process/issues/9)*
*Running on [Windows is currently not supported](https://github.com/clue/reactphp-ssh-proxy/issues/12)*

## Tests

Expand Down

0 comments on commit ec3d153

Please sign in to comment.