---
title: URLScheme
framework: webkit
role: symbol
role_heading: Structure
path: webkit/urlscheme
---

# URLScheme

A type representing a valid URL scheme.

## Declaration

```swift
struct URLScheme
```

## Overview

Overview Scheme names are case sensitive, must start with an ASCII letter, and may contain only ASCII letters, numbers, the “+” character, the “-” character, and the “.” character.

## Topics

### Initializers

- [init(_:)](webkit/urlscheme/init(_:).md)

### Instance Properties

- [rawValue](webkit/urlscheme/rawvalue.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring a WebPage

- [WebPage.Configuration](webkit/webpage/configuration.md)
- [WebPage.DeviceSensorAuthorization](webkit/webpage/devicesensorauthorization.md)
- [URLSchemeHandler](webkit/urlschemehandler.md)
- [URLSchemeTaskResult](webkit/urlschemetaskresult.md)
