---
url: /api/third-parties/socketio/types/interfaces/enum-socket-provider-types.md
description: api documentation of SocketProviderTypes from @tsed/socketio
---

## Usage

```typescript
import { SocketProviderTypes } from "@tsed/socketio";
```

> See [/packages/third-parties/socketio/src/interfaces/SocketProviderTypes.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/third-parties/socketio/src/interfaces/SocketProviderTypes.ts#L0-L0).

## Overview

```ts
enum SocketProviderTypes {
    SERVICE = "service",
    MIDDLEWARE = "middleware"
}
```

## SERVICE

```ts
SERVICE = "service",
```

## MIDDLEWARE

```ts
MIDDLEWARE = "middleware"
```
