Skip to content

Commit

Permalink
Adds session management method in interface
Browse files Browse the repository at this point in the history
Signed-off-by: karthik-uj <karthik.uj@getastra.com>
  • Loading branch information
karthik-uj committed Dec 19, 2023
1 parent 260a883 commit 63718b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zap/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type Interface interface {
Script() *Script
Search() *Search
Selenium() *Selenium
SessionManagement() *SessionManagement
Soap() *Soap
Spider() *Spider
Stats() *Stats
Expand Down Expand Up @@ -227,6 +228,11 @@ func (c *Client) Selenium() *Selenium {
return &Selenium{c}
}

// SessionManagement() returns a SessionManagement client
func (c *Client) SessionManagement() *SessionManagement {
return &SessionManagement{c}
}

// Soap() returns a Soap client
func (c *Client) Soap() *Soap {
return &Soap{c}
Expand Down

0 comments on commit 63718b2

Please sign in to comment.