Ankh.Transport.negotiated_protocol

You're seeing just the function negotiated_protocol, go back to Ankh.Transport module for more information.
Link to this function

negotiated_protocol(transport)

Specs

negotiated_protocol(t()) ::
  {:ok, String.t()} | {:error, :protocol_not_negotiated}

Returns the transport negotiated protocol if any, nil otherwise