---
title: req.secure
description: Check if a TLS connection is established. This is a short-hand for
---

<h3 id='req.secure'>req.secure</h3>

Check if a TLS connection is established. This is a short-hand for:

```js
console.dir(req.protocol === 'https');
// => true
```
