[Docs] Add blank line before lists so they render (#503)
This commit is contained in:
parent
7047019030
commit
e7aa2d77de
2 changed files with 18 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ $client->connect($transport);
|
|||
```
|
||||
|
||||
The `connect()` method performs the MCP initialization handshake:
|
||||
|
||||
1. Opens the transport connection
|
||||
2. Sends InitializeRequest with client capabilities
|
||||
3. Waits for InitializeResult from server
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ $transport = new StdioTransport(
|
|||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
- `command` (string): The command to execute
|
||||
- `args` (array): Command arguments
|
||||
- `cwd` (string|null): Working directory for the process
|
||||
|
|
@ -39,6 +40,7 @@ $transport = new HttpTransport(
|
|||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
- `endpoint` (string): The MCP server URL
|
||||
- `headers` (array): Additional HTTP headers
|
||||
- `httpClient` (ClientInterface|null): PSR-18 HTTP client (auto-discovered)
|
||||
|
|
@ -50,6 +52,7 @@ $transport = new HttpTransport(
|
|||
**PSR-18 Auto-Discovery:**
|
||||
|
||||
The transport automatically discovers PSR-18 HTTP clients from:
|
||||
|
||||
- `php-http/guzzle7-adapter`
|
||||
- `php-http/curl-client`
|
||||
- `symfony/http-client`
|
||||
|
|
|
|||
Loading…
Reference in a new issue