---
title: "urlProtocolDidFinishLoading(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/urlprotocolclient/urlprotocoldidfinishloading(_:)"
---

# urlProtocolDidFinishLoading(_:)

Tells the client that the protocol implementation has finished loading.

## Declaration

```swift
func urlProtocolDidFinishLoading(_ protocol: URLProtocol)
```

## Parameters

- `protocol`: The URL protocol object sending the message.

## See Also

### Indicating loading progress or failure

- [urlProtocol(_:didFailWithError:)](foundation/urlprotocolclient/urlprotocol(_:didfailwitherror:).md)
- [urlProtocol(_:didLoad:)](foundation/urlprotocolclient/urlprotocol(_:didload:).md)
