---
title: SLRequestHandler
framework: social
role: symbol
role_heading: Type Alias
path: social/slrequesthandler
---

# SLRequestHandler

The callback handler for a request.

## Declaration

```swift
typealias SLRequestHandler = (Data?, HTTPURLResponse?, (any Error)?) -> Void
```

## Discussion

Discussion The parameters for this handler are: Possible values are dependent on the target service and are documented by the service provider. For links to documentation for the supported services, see Table 1 in SLRequest.

## See Also

### Sending a Request

- [perform(handler:)](social/slrequest/perform(handler:).md)
