# Response

interface Response

## Methods

`public` | `` | `sendHeaders()` | No description |
`public` | `` | `sendContent()` | No description |
`public` | `` | `send()` | No description |
`public` | `` | `setContent($content)` | No description |
`public` | `` | `getContent()` | No description |
`public` | `` | `setProtocolVersion($version)` | No description |
`public` | `` | `getProtocolVersion()` | No description |
`public` | `` | `setStatusCode($code, $text = NULL)` | No description |
`public` | `` | `getStatusCode()` | No description |
`public` | `` | `setCharset($charset)` | No description |
`public` | `` | `getCharset()` | No description |
`public` | `` | `isCacheable()` | No description |
`public` | `` | `isFresh()` | No description |
`public` | `` | `isValidateable()` | No description |
`public` | `` | `setPrivate()` | No description |
`public` | `` | `setPublic()` | No description |
`public` | `` | `mustRevalidate()` | No description |
`public` | `` | `getDate()` | No description |
`public` | `` | `getAge()` | No description |
`public` | `` | `expire()` | No description |
`public` | `` | `getExpires()` | No description |
`public` | `` | `getMaxAge()` | No description |
`public` | `` | `setMaxAge($value)` | No description |
`public` | `` | `setSharedMaxAge($value)` | No description |
`public` | `` | `getTtl()` | No description |
`public` | `` | `setTtl($seconds)` | No description |
`public` | `` | `setClientTtl($seconds)` | No description |
`public` | `` | `getLastModified()` | No description |
`public` | `` | `getEtag()` | No description |
`public` | `` | `setEtag($etag = NULL, $weak = false)` | No description |
`public` | `` | `setCache($options)` | No description |
`public` | `` | `setNotModified()` | No description |
`public` | `` | `hasVary()` | No description |
`public` | `` | `getVary()` | No description |
`public` | `` | `setVary($headers, $replace = true)` | No description |
`public` | `` | `isInvalid()` | No description |
`public` | `` | `isInformational()` | No description |
`public` | `` | `isSuccessful()` | No description |
`public` | `` | `isRedirection()` | No description |
`public` | `` | `isClientError()` | No description |
`public` | `` | `isServerError()` | No description |
`public` | `` | `isOk()` | No description |
`public` | `` | `isForbidden()` | No description |
`public` | `` | `isNotFound()` | No description |
`public` | `` | `isRedirect($location = NULL)` | No description |
`public` | `` | `isEmpty()` | No description |
`public static` | `` | `closeOutputBuffers($targetLevel, $flush)` | No description |

## Details

at line 7

### `sendHeaders()`

`public sendHeaders()`
at line 8

### `sendContent()`

`public sendContent()`
at line 9

### `send()`

`public send()`
at line 10

### `setContent()`

`public setContent($content)`

#### Parameters

| `$content` |

at line 11

### `getContent()`

`public getContent()`
at line 12

### `setProtocolVersion()`

`public setProtocolVersion($version)`

#### Parameters

| `$version` |

at line 13

### `getProtocolVersion()`

`public getProtocolVersion()`
at line 14

### `setStatusCode()`

`public setStatusCode($code, $text = NULL)`

#### Parameters

| `$code` |
| `$text` |

at line 15

### `getStatusCode()`

`public getStatusCode()`
at line 16

### `setCharset()`

`public setCharset($charset)`

#### Parameters

| `$charset` |

at line 17

### `getCharset()`

`public getCharset()`
at line 18

### `isCacheable()`

`public isCacheable()`
at line 19

### `isFresh()`

`public isFresh()`
at line 20

### `isValidateable()`

`public isValidateable()`
at line 21

### `setPrivate()`

`public setPrivate()`
at line 22

### `setPublic()`

`public setPublic()`
at line 23

### `mustRevalidate()`

`public mustRevalidate()`
at line 24

### `getDate()`

`public getDate()`
at line 25

### `getAge()`

`public getAge()`
at line 26

### `expire()`

`public expire()`
at line 27

### `getExpires()`

`public getExpires()`
at line 28

### `getMaxAge()`

`public getMaxAge()`
at line 29

### `setMaxAge()`

`public setMaxAge($value)`

#### Parameters

| `$value` |

at line 30

### `setSharedMaxAge()`

`public setSharedMaxAge($value)`

#### Parameters

| `$value` |

at line 31

### `getTtl()`

`public getTtl()`
at line 32

### `setTtl()`

`public setTtl($seconds)`

#### Parameters

| `$seconds` |

at line 33

### `setClientTtl()`

`public setClientTtl($seconds)`

#### Parameters

| `$seconds` |

at line 34

### `getLastModified()`

`public getLastModified()`
at line 35

### `getEtag()`

`public getEtag()`
at line 36

### `setEtag()`

`public setEtag($etag = NULL, $weak = false)`

#### Parameters

| `$etag` |
| `$weak` |

at line 37

### `setCache()`

`public setCache($options)`

#### Parameters

| `$options` |

at line 38

### `setNotModified()`

`public setNotModified()`
at line 39

### `hasVary()`

`public hasVary()`
at line 40

### `getVary()`

`public getVary()`
at line 41

### `setVary()`

`public setVary($headers, $replace = true)`

#### Parameters

| `$headers` |
| `$replace` |

at line 42

### `isInvalid()`

`public isInvalid()`
at line 43

### `isInformational()`

`public isInformational()`
at line 44

### `isSuccessful()`

`public isSuccessful()`
at line 45

### `isRedirection()`

`public isRedirection()`
at line 46

### `isClientError()`

`public isClientError()`
at line 47

### `isServerError()`

`public isServerError()`
at line 48

### `isOk()`

`public isOk()`
at line 49

### `isForbidden()`

`public isForbidden()`
at line 50

### `isNotFound()`

`public isNotFound()`
at line 51

### `isRedirect()`

`public isRedirect($location = NULL)`

#### Parameters

| `$location` |

at line 52

### `isEmpty()`

`public isEmpty()`
at line 53

### `closeOutputBuffers()`

`public static closeOutputBuffers($targetLevel, $flush)`

#### Parameters

| `$targetLevel` |
| `$flush` |

## Source code

    <?php

    	namespace App\Khan\Component\Router\Http\Interfaces;

    	interface Response{

    			public function sendHeaders();
    			public function sendContent();
    			public function send();
    			public function setContent($content);
    			public function getContent();
    			public function setProtocolVersion($version);
    			public function getProtocolVersion();
    			public function setStatusCode($code, $text = NULL);
    			public function getStatusCode();
    			public function setCharset($charset);
    			public function getCharset();
    			public function isCacheable();
    			public function isFresh();
    			public function isValidateable();
    			public function setPrivate();
    			public function setPublic();
    			public function mustRevalidate();
    			public function getDate();
    			public function getAge();
    			public function expire();
    			public function getExpires();
    			public function getMaxAge();
    			public function setMaxAge($value);
    			public function setSharedMaxAge($value);
    			public function getTtl();
    			public function setTtl($seconds);
    			public function setClientTtl($seconds);
    			public function getLastModified();
    			public function getEtag();
    			public function setEtag($etag = NULL, $weak = false);
    			public function setCache($options);
    			public function setNotModified();
    			public function hasVary();
    			public function getVary();
    			public function setVary($headers,$replace = true);
    			public function isInvalid();
    			public function isInformational();
    			public function isSuccessful();
    			public function isRedirection();
    			public function isClientError();
    			public function isServerError();
    			public function isOk();
    			public function isForbidden();
    			public function isNotFound();
    			public function isRedirect($location = NULL);
    			public function isEmpty();
    			public static function closeOutputBuffers($targetLevel, $flush);
    			// public function sendFile($file);
    			// public function loadView($view, $data);

    	}