```typescript
import {Adapter} from '@nlux/core';

export const myCustomAdapter: Adapter = {
    fetchText: (message: string, extras: AdapterExtras): Promise<string> => {
        return fetch('http://localhost:8080', {
            method: 'POST',
            body: JSON.stringify({message})
        })
            .then(response => response.json())
            .then(json => json.message);
    }
};
```
