Skip to content

net/http: Server.ServeTLS doc uses wrong method name #23028

Closed
@artyom

Description

@artyom

The first sentence of the third paragraph of net/http.Server.ServeTLS method documentation incorrectly calls method as Serve (likely result of copy-pasting from Serve method docs):

For HTTP/2 support, srv.TLSConfig should be initialized to the provided listener's TLS Config before calling Serve.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions