1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

prettier markdown

This commit is contained in:
Rob Ede
2023-11-01 15:28:34 +00:00
parent 7c4b52623e
commit 0d0e7f4433
17 changed files with 77 additions and 208 deletions

View File

@ -2,11 +2,9 @@
title: HTTP/2
---
import RenderCodeBlock from '@theme/CodeBlock';
import CodeBlock from '@site/src/components/code_block.js';
import { actixWebMajorVersion } from "@site/vars";
import RenderCodeBlock from '@theme/CodeBlock'; import CodeBlock from '@site/src/components/code_block.js'; import { actixWebMajorVersion } from "@site/vars";
`actix-web` automatically upgrades connections to *HTTP/2* if possible.
`actix-web` automatically upgrades connections to _HTTP/2_ if possible.
# Negotiation
@ -16,7 +14,6 @@ When either of the `rustls` or `openssl` features are enabled, `HttpServer` prov
<!-- DEPENDENCY -->
<RenderCodeBlock className="language-toml">
{`[dependencies]
actix-web = { version = "${actixWebMajorVersion}", features = ["openssl"] }