

# getRealtimeDBMethodsWeb

<div class="api-docs__separator" data-reactroot="">

---

</div><div class="api-docs__import" data-reactroot="">

```ts
import { getRealtimeDBMethodsWeb } from "@hyper-fetch/firebase"
```

</div><div class="api-docs__section">

## Description

</div><div class="api-docs__description"><span class="api-docs__do-not-parse">



</span></div><p class="api-docs__definition">

Defined in [methods/methods.realtime.web.ts:74](https://github.com/BetterTyped/hyper-fetch/blob/c3e2c45/packages/adapter-firebase/src/methods/methods.realtime.web.ts#L74)

</p><div class="api-docs__section">

## Preview

</div><div class="api-docs__preview fn">

```ts
getRealtimeDBMethodsWeb<R>(request, database, url, onSuccess, onError, resolve, events)
```

</div><div class="api-docs__section">

## Parameters

</div><div class="api-docs__parameters"><table><thead><tr><th>Name</th><th>Details</th></tr></thead><tbody><tr param-data="request"><td class="api-docs__param-name required">

### request 

`Required`

</td><td class="api-docs__param-type">

`R`

</td></tr><tr param-data="database"><td class="api-docs__param-name required">

### database 

`Required`

</td><td class="api-docs__param-type">

`Database`

</td></tr><tr param-data="url"><td class="api-docs__param-name required">

### url 

`Required`

</td><td class="api-docs__param-type">

`string`

</td></tr><tr param-data="onSuccess"><td class="api-docs__param-name required">

### onSuccess 

`Required`

</td><td class="api-docs__param-type">

`any`

</td></tr><tr param-data="onError"><td class="api-docs__param-name required">

### onError 

`Required`

</td><td class="api-docs__param-type">

`any`

</td></tr><tr param-data="resolve"><td class="api-docs__param-name required">

### resolve 

`Required`

</td><td class="api-docs__param-type">

`any`

</td></tr><tr param-data="events"><td class="api-docs__param-name required">

### events 

`Required`

</td><td class="api-docs__param-type">

`{ onRequestEnd: any; onRequestStart: any; onResponseEnd: any; onResponseStart: any }`

</td></tr></tbody></table></div><div class="api-docs__section">

## Returns

</div><div class="api-docs__returns">

```ts
Record<RealtimeDBMethods, (data: [object Object]) => void>
```

</div>