mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
update docs
This commit is contained in:
@@ -42,7 +42,7 @@ func (c *ConnClient) EnableCseq() {
|
|||||||
c.cseqEnabled = true
|
c.cseqEnabled = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetCredentials allows to automatically insert Authenticate header into every outgoing request.
|
// SetCredentials allows to automatically insert the Authenticate header into every outgoing request.
|
||||||
// The content of the header is computed with the given user, password, realm and nonce.
|
// The content of the header is computed with the given user, password, realm and nonce.
|
||||||
func (c *ConnClient) SetCredentials(user string, pass string, realm string, nonce string) {
|
func (c *ConnClient) SetCredentials(user string, pass string, realm string, nonce string) {
|
||||||
c.authProv = newAuthClientProvider(user, pass, realm, nonce)
|
c.authProv = newAuthClientProvider(user, pass, realm, nonce)
|
||||||
|
Reference in New Issue
Block a user