---
title: req.secure
description: A Boolean property that is true if a TLS connection is established
---

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

A Boolean property that is true if a TLS connection is established. Equivalent to:

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