# TransportOptions.MaxRequestBytes Property

> Gets or sets the maximum UTF-8 size of a serialized worker request.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 34.5.0
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC.DocumentViewer.Hosting > TransportOptions.MaxRequestBytes Property
- **57 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/transportoptions/maxrequestbytes-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/transportoptions/maxrequestbytes-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/transportoptions/maxrequestbytes-property/llms-full.txt

---

### Description

Gets or sets the maximum UTF-8 size of a serialized worker request.

### Syntax

```plaintext
public int MaxRequestBytes { get; set; }
```

### Comments

The limit prevents unbounded document payloads at the local process boundary.

---

## Nearby

- **Previous:** [TransportOptions Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/transportoptions/constructor/llms-full.txt)
- **Next:** [TransportOptions.MaxResponseBytes Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/transportoptions/maxresponsebytes-property/llms-full.txt)
