Skip to content

Commit 461aa8d

Browse files
author
Robin de Graaf
committed
Layout fix (what?) in README
1 parent eb21610 commit 461aa8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ us code `200`, with the body set as passed to the `Response` upon creation.
5252

5353
## API
5454

55-
#### Request
55+
### Request
5656

5757
- `getMethod(): string` - returns GET, POST, etc.
5858
- `getUri(): Uri` - return a `Uri` object representing the uri being requested
@@ -70,7 +70,7 @@ From the `HasHeaders` trait:
7070
- `getHeader(string $header): ?string` - get a single header by string, `null` if non-existing
7171
- `getHeaders(): string[]` - get all headers
7272

73-
#### Response
73+
### Response
7474

7575
- `getBody(): ?string` - the body to be sent
7676
- `setBody(string $body): void` - set the body as a string
@@ -96,7 +96,7 @@ From the `HasStatusCode` trait:
9696
- `getStatusCodeText(): ?string` - the status code text to be sent (i.e. `OK`)
9797
- `setStatusCode(int $statusCode): void` - set the status code
9898

99-
#### Dispatcher
99+
### Dispatcher
100100

101101
- `dispatch(Response $response): void` - dispatch a Response, sending all its content as set
102102
- `dispatchAndTerminate(Response $response, int $exitCode = 0): void` - dispatch a Response and terminate, i.e., ending program flow immediately afterwards

0 commit comments

Comments
 (0)