Documentation
¶
Overview ¶
Package webclient is a short-lived HTTP client for app.bitrise.io's Rails-Devise endpoints (signup, email/password sign-in).
Separate from internal/bitriseapi (bearer tokens against api.bitrise.io): the website uses cookie sessions plus CSRF, and the jar lives only inside one command invocation — never persisted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps an http.Client with a per-call cookie jar and CSRF priming. Construct one per command invocation; do not reuse across commands.
func New ¶
New builds a Client targeting baseURL, with its own cookie jar — pass one Client through a single sequence of calls (Prime → PostJSON …) and discard it.
Click to show internal directories.
Click to hide internal directories.