http

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package http is a http scenario

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scenario

type Scenario struct {
	models.Scenario

	URL      string
	Method   string
	Response *http.Response
	Body     string
	Redirect string
	Headers  map[string]string
	Client   *http.Client
}

Scenario Represent an http scenario

func (*Scenario) Description

func (h *Scenario) Description() string

Description return scenario description

func (*Scenario) Init

func (h *Scenario) Init()

Init initialize scenario

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL