# HostedServer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-collaboration-host/struct-hostedserver/

**struct** · [`ferroui-designer-collaboration-host`](/docs/0.5.0/api/ferroui-designer-collaboration-host/) · v0.5.0

```rust
struct HostedServer
```

Own this handle for the service lifetime. The HTTP endpoint retains MCP's loopback and
Host/Origin checks; deploy an authenticated TLS reverse proxy for remote access.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration.Host/service.rs#L333)

## Members

- [`store`](#struct_field-store)
- [`start`](#function-start)
- [`endpoint`](#function-endpoint)
- [`is_running`](#function-is_running)

<a id="struct_field-store"></a>

### store

```rust
store: std::sync::Arc<crate::RoomStore>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration.Host/service.rs#L334)

<a id="function-start"></a>

### start

```rust
fn start(storage: impl AsRef<Path>, admin: &Secret, address: Option<SocketAddr>) -> Result<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration.Host/service.rs#L338)

<a id="function-endpoint"></a>

### endpoint

```rust
fn endpoint(self: &Self) -> Endpoint
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration.Host/service.rs#L373)

<a id="function-is_running"></a>

### is_running

```rust
fn is_running(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration.Host/service.rs#L382)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `Same`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
