100% found this document useful (1 vote)
63 views71 pages

Network Programming with Go Language 2nd Edition Ronald Petty - The complete ebook set is ready for download today

The document provides information about various eBooks available for download at ebookmeta.com, including titles related to network programming with Go language and other subjects. It highlights the second edition of 'Network Programming with Go Language' by Ronald Petty and Jan Newmarch, along with other recommended digital products. The document also includes details about the authors, copyright information, and the structure of the book.

Uploaded by

raspefricc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
63 views71 pages

Network Programming with Go Language 2nd Edition Ronald Petty - The complete ebook set is ready for download today

The document provides information about various eBooks available for download at ebookmeta.com, including titles related to network programming with Go language and other subjects. It highlights the second edition of 'Network Programming with Go Language' by Ronald Petty and Jan Newmarch, along with other recommended digital products. The document also includes details about the authors, copyright information, and the structure of the book.

Uploaded by

raspefricc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 71

Read Anytime Anywhere Easy Ebook Downloads at ebookmeta.

com

Network Programming with Go Language 2nd Edition


Ronald Petty

https://ebookmeta.com/product/network-programming-with-go-
language-2nd-edition-ronald-petty/

OR CLICK HERE

DOWLOAD EBOOK

Visit and Get More Ebook Downloads Instantly at https://ebookmeta.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

Network Programming with Go Language: Essential Skills for


Programming, Using and Securing Networks with Open Source
Google Golang 2nd Edition Jan Newmarch
https://ebookmeta.com/product/network-programming-with-go-language-
essential-skills-for-programming-using-and-securing-networks-with-
open-source-google-golang-2nd-edition-jan-newmarch-2/
ebookmeta.com

Network Programming with Go Language : Essential Skills


for Programming, Using and Securing Networks with Open
Source Google Golang 2nd Edition Jan Newmarch
https://ebookmeta.com/product/network-programming-with-go-language-
essential-skills-for-programming-using-and-securing-networks-with-
open-source-google-golang-2nd-edition-jan-newmarch/
ebookmeta.com

Network Programming with Go Learn to Code Secure and


Reliable Network Services from Scratch 1st Edition Adam
Woodbeck
https://ebookmeta.com/product/network-programming-with-go-learn-to-
code-secure-and-reliable-network-services-from-scratch-1st-edition-
adam-woodbeck/
ebookmeta.com

Summary of a Mind of Your Own by Kelly Brogan with Kristin


Loberg Instaread

https://ebookmeta.com/product/summary-of-a-mind-of-your-own-by-kelly-
brogan-with-kristin-loberg-instaread/

ebookmeta.com
Original Nation Approaches to Inter-National Law: The
Quest for the Rights of Indigenous Peoples and Nature in
the Age of Anthropocene 1st Edition Hiroshi Fukurai
https://ebookmeta.com/product/original-nation-approaches-to-inter-
national-law-the-quest-for-the-rights-of-indigenous-peoples-and-
nature-in-the-age-of-anthropocene-1st-edition-hiroshi-fukurai/
ebookmeta.com

IoT and AI Technologies for Sustainable Living: A


Practical Handbook 1st Edition Abid Hussain

https://ebookmeta.com/product/iot-and-ai-technologies-for-sustainable-
living-a-practical-handbook-1st-edition-abid-hussain/

ebookmeta.com

Digital Customer Experience Engineering: Strategies for


Creating Effective Digital Experiences 1st Edition Lars
Wiedenhoefer
https://ebookmeta.com/product/digital-customer-experience-engineering-
strategies-for-creating-effective-digital-experiences-1st-edition-
lars-wiedenhoefer/
ebookmeta.com

Johnny the Walrus First Edition Matt Walsh K Reece

https://ebookmeta.com/product/johnny-the-walrus-first-edition-matt-
walsh-k-reece/

ebookmeta.com

Muybridge and Mobility 1st Edition Tim Cresswell

https://ebookmeta.com/product/muybridge-and-mobility-1st-edition-tim-
cresswell/

ebookmeta.com
Flawless Consulting 4th Edition Peter Block

https://ebookmeta.com/product/flawless-consulting-4th-edition-peter-
block/

ebookmeta.com
Network Programming

with Go Language

Essential Skills for Programming, Using

and Securing Networks with Open Source

Google Golang

Second Edition

Dr. Jan Newmarch

Ronald Petty

Network Programming with Go Language: Essential Skills


for Programming, Using

and Securing Networks with Open Source Google Golang

Dr. Jan Newmarch

Ronald Petty

Oakleigh, VIC, Australia

San Francisco, CA, USA

ISBN-13 (pbk): 978-1-4842-8094-2

ISBN-13 (electronic): 978-1-4842-8095-9

https://doi.org/10.1007/978-1-4842-8095-9

Copyright © 2022 by Jan Newmarch and Ronald Petty


This work is subject to copyright. All rights are reserved by the
Publisher, whether the whole or part of the material is concerned,
specifically the rights of translation, reprinting, reuse of illustrations,
recitation, broadcasting, reproduction on microfilms or in any other
physical way, and transmission or information storage and retrieval,
electronic adaptation, computer software, or by similar or dissimilar
methodology now known or hereafter developed.

Trademarked names, logos, and images may appear in this book.


Rather than use a trademark symbol with every occurrence of a
trademarked name, logo, or image we use the names, logos, and
images only in an editorial fashion and to the benefit of the
trademark owner, with no intention of infringement of the
trademark.

The use in this publication of trade names, trademarks, service


marks, and similar terms, even if they are not identified as such, is
not to be taken as an expression of opinion as to whether or not
they are subject to proprietary rights.

While the advice and information in this book are believed to be true
and accurate at the date of publication, neither the authors nor the
editors nor the publisher can accept any legal responsibility for any
errors or omissions that may be made. The publisher makes no
warranty, express or implied, with respect to the material contained
herein.

Managing Director, Apress Media LLC: Welmoed Spahr

Acquisitions Editor: Steve Anglin

Development Editor: James Markham

Coordinating Editor: Mark Powers

Cover designed by eStudioCalamar


Cover image by Pat Kay on Unsplash (www.unsplash.com)

Distributed to the book trade worldwide by Apress Media, LLC, 1


New York Plaza, New York, NY 10004, U.S.A. Phone 1-800-
SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-
sbm.com, or visit

www.springeronline.com. Apress Media, LLC is a California LLC and


the sole member (owner) is Springer Science + Business Media
Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware
corporation.

For information on translations, please e-mail


[email protected]; for reprint, paperback, or
audio rights, please e-mail [email protected].

Apress titles may be purchased in bulk for academic, corporate, or


promotional use. eBook versions and licenses are also available for
most titles. For more information, reference our Print and eBook
Bulk Sales web page at http://www.apress.com/bulk-sales.

Any source code or other supplementary material referenced by the


author in this book is available to readers on GitHub. For more
detailed information, please visit https://github.com/Apress/network-
prog-with-go-2e.

Printed on acid-free paper

I dedicate this to my family.

Table of Contents

About the Authors


�������������������������������
�������������������������������
�������������������������������
�����xvii About the Technical Reviewer
�������������������������������
�������������������������������
������������������xix Acknowledgments
�������������������������������
�������������������������������
�������������������������������
�����xxi Preface to the Second Edition
�������������������������������
�������������������������������
����������������xxiii Preface to the First Edition
�������������������������������
�������������������������������
����������������������xxv

■Chapter 1: Architectural Layers


�������������������������������
�������������������������������
��������������� 1

Protocol Layers
�������������������������������
�������������������������������
�������������������������������
�������������������� 1

ISO OSI Protocol


�������������������������������
�������������������������������
�������������������������������
�������������������������������
���������� 1

OSI Layers
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������� 2

TCP/IP Protocol
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������� 2

Some Alternative Protocols


�������������������������������
�������������������������������
�������������������������������
����������������������� 3

Networking
�������������������������������
�������������������������������
�������������������������������
�������������������������� 3

Gateways
�������������������������������
�������������������������������
�������������������������������
����������������������������� 4

Host-Level Networking
�������������������������������
�������������������������������
�������������������������������
�������� 4

Packet Encapsulation
�������������������������������
�������������������������������
�������������������������������
���������� 4

Connection Models
�������������������������������
�������������������������������
�������������������������������
�������������� 5

Connection Oriented
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��� 5

Connectionless
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������� 5

Communications Models
�������������������������������
�������������������������������
�������������������������������
����� 6

Message Passing
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������� 6
Remote Procedure Call
�������������������������������
�������������������������������
�������������������������������
������������������������������ 7

■ Table of ConTenTs

Distributed Computing Models


�������������������������������
�������������������������������
��������������������������� 8

Client-Server System
�������������������������������
�������������������������������
�������������������������������
���������� 9

Client-Server
Application��������������������������
�������������������������������
�������������������������������
���������� 9

Server Distribution
�������������������������������
�������������������������������
�������������������������������
������������ 10

Communication Flows
�������������������������������
�������������������������������
�������������������������������
������� 11

Synchronous Communication
�������������������������������
�������������������������������
�������������������������������
������������������ 11

Asynchronous Communication
�������������������������������
�������������������������������
�������������������������������
���������������� 11

Streaming Communication
�������������������������������
�������������������������������
�������������������������������
���������������������� 11

Publish/Subscribe
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����� 11

Component Distribution
�������������������������������
�������������������������������
�������������������������������
����� 12

Gartner Classification
�������������������������������
�������������������������������
�������������������������������
������������������������������
12

Three-Tier Models
�������������������������������
�������������������������������
�������������������������������
�������������������������������
���� 14

Fat vs� Thin


�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������������� 15

Middleware Model
�������������������������������
�������������������������������
�������������������������������
������������� 15

Middleware Examples
�������������������������������
�������������������������������
�������������������������������
����������������������������� 16

Middleware Functions
�������������������������������
�������������������������������
�������������������������������
����������������������������� 17
Continuum of Processing
�������������������������������
�������������������������������
�������������������������������
�� 17

Points of Failure
�������������������������������
�������������������������������
�������������������������������
���������������� 18

Acceptance Factors
�������������������������������
�������������������������������
�������������������������������
����������� 18

Thoughts on Distributed Computing


�������������������������������
�������������������������������
����������������� 19

Transparency
�������������������������������
�������������������������������
�������������������������������
��������������������� 19

Access Transparency
�������������������������������
�������������������������������
�������������������������������
�������������������������������
19
Location Transparency
�������������������������������
�������������������������������
�������������������������������
����������������������������� 19

Migration Transparency
�������������������������������
�������������������������������
�������������������������������
��������������������������� 19

Replication Transparency
�������������������������������
�������������������������������
�������������������������������
������������������������� 20

Concurrency Transparency
�������������������������������
�������������������������������
�������������������������������
���������������������� 20

Scalability Transparency
�������������������������������
�������������������������������
�������������������������������
�������������������������� 20

Performance Transparency
�������������������������������
�������������������������������
�������������������������������
���������������������� 20
Failure Transparency
�������������������������������
�������������������������������
�������������������������������
�������������������������������
20

vi

■ Table of ConTenTs

Eight Fallacies of Distributed Computing


�������������������������������
�������������������������������
��������� 20

Fallacy: The Network Is Reliable


�������������������������������
�������������������������������
�������������������������������
�������������� 21

Fallacy: Latency Is Zero


�������������������������������
�������������������������������
�������������������������������
��������������������������� 21

Fallacy: Bandwidth Is Infinite


�������������������������������
�������������������������������
�������������������������������
������������������� 21

Fallacy: The Network Is Secure


�������������������������������
�������������������������������
�������������������������������
��������������� 22

Fallacy: Topology Doesn’t Change


�������������������������������
�������������������������������
�������������������������������
����������� 22

Fallacy: There Is One Administrator


�������������������������������
�������������������������������
�������������������������������
��������� 22

Fallacy: Transport Cost Is Zero


�������������������������������
�������������������������������
�������������������������������
����������������� 22

Fallacy: The Network Is Homogeneous


�������������������������������
�������������������������������
�������������������������������
���� 22

Conclusion
�������������������������������
�������������������������������
�������������������������������
������������������������� 23

■Chapter 2: Overview of the Go Language


�������������������������������
����������������������������� 25
Types
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�� 26

Slices and Arrays


�������������������������������
�������������������������������
�������������������������������
�������������������������������
������ 26

Maps
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������������� 28

Pointers
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������������������� 28

Functions
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������ 29
Structures
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������������� 29

Methods
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������������������� 30

Multithreading
�������������������������������
�������������������������������
�������������������������������
������������������� 31

Packages
�������������������������������
�������������������������������
�������������������������������
��������������������������� 31

Modules
�������������������������������
�������������������������������
�������������������������������
����������������������������� 32

Type Conversion
�������������������������������
�������������������������������
�������������������������������
���������������� 32

Statements
�������������������������������
�������������������������������
�������������������������������
������������������������ 33

GOPATH
�������������������������������
�������������������������������
�������������������������������
������������������������������
33

Running Go Programs
�������������������������������
�������������������������������
�������������������������������
������� 33

Standard Libraries
�������������������������������
�������������������������������
�������������������������������
������������� 33

Error Values
�������������������������������
�������������������������������
�������������������������������
����������������������� 34

Conclusion
�������������������������������
�������������������������������
�������������������������������
������������������������� 34

vii

■ Table of ConTenTs

■Chapter 3: Socket-Level Programming


�������������������������������
�������������������������������
�� 35

The TCP/IP Stack


�������������������������������
�������������������������������
�������������������������������
��������������� 35

IP Datagrams
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������ 36

UDP
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������������������������� 36

TCP
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������������������������� 37

Internet Addresses
�������������������������������
�������������������������������
�������������������������������
������������ 37

IPv4 Addresses
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������� 37

IPv6 Addresses
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������� 38

IP Address Type
�������������������������������
�������������������������������
�������������������������������
����������������� 39

Using Available Documentation and Examples


�������������������������������
�������������������������������
40

The IPMask Type


�������������������������������
�������������������������������
�������������������������������
�������������������������������
������� 43

Basic Routing
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������ 46

The IPAddr Type


�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������� 48

Host Canonical Name and Addresses Lookup


�������������������������������
�������������������������������
������������������������ 49

Services���������������������������
�������������������������������
�������������������������������
�������������������������������
�� 51

Ports
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������������� 51
The TCPAddr Type
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����� 52

TCP Sockets
�������������������������������
�������������������������������
�������������������������������
���������������������� 53

TCP Client
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������������� 53

A Daytime Server
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������ 56

Multithreaded Server
�������������������������������
�������������������������������
�������������������������������
�������������������������������
57

Controlling TCP Connections


�������������������������������
�������������������������������
���������������������������� 60

Timeout
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��������������������� 60

Staying Alive
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������� 60

UDP Datagrams
�������������������������������
�������������������������������
�������������������������������
����������������� 60

Server Listening on Multiple Sockets


�������������������������������
�������������������������������
��������������� 63

The Conn, PacketConn, and Listener Types


�������������������������������
�������������������������������
������ 63

Raw Sockets and the IPConn Type


�������������������������������
�������������������������������
������������������� 66
Conclusion
�������������������������������
�������������������������������
�������������������������������
������������������������� 68

viii

■ Table of ConTenTs

■Chapter 4: Data Serialization


�������������������������������
�������������������������������
����������������� 69

Structured Data
�������������������������������
�������������������������������
�������������������������������
����������������� 69

Mutual Agreement
�������������������������������
�������������������������������
�������������������������������
������������� 71

Self-Describing Data
�������������������������������
�������������������������������
�������������������������������
��������� 71

Encoding Packages
�������������������������������
�������������������������������
�������������������������������
����������� 72

ASN�1
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�� 74

ASN�1 Daytime Client and Server


�������������������������������
�������������������������������
�������������������������������
������������ 84

JSON�����������������������������
�������������������������������
�������������������������������
�������������������������������
����� 86

A Client and A Server


�������������������������������
�������������������������������
�������������������������������
�������������������������������
90

The Gob Package


�������������������������������
�������������������������������
�������������������������������
��������������� 94

A Client and A Server


�������������������������������
�������������������������������
�������������������������������
�������������������������������
98

Encoding Binary Data As Strings


�������������������������������
�������������������������������
�������������������� 100

Protocol Buffers
�������������������������������
�������������������������������
�������������������������������
��������������� 103

Installing and Compiling Protocol Buffers


�������������������������������
�������������������������������
���������������������������� 105

The Generated personv3�pb�go File


�������������������������������
�������������������������������
�������������������������������
������� 105

Using the Generated Code


�������������������������������
�������������������������������
�������������������������������
��������������������� 106

Conclusion
�������������������������������
�������������������������������
�������������������������������
����������������������� 107

■Chapter 5: Application-Level Protocols


�������������������������������
������������������������������
109

Protocol Design
�������������������������������
�������������������������������
�������������������������������
��������������� 109

Why Should You Worry?


�������������������������������
�������������������������������
�������������������������������
��� 110

Version Control
�������������������������������
�������������������������������
�������������������������������
���������������� 110

The Web
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������ 111

Message
Format����������������������������
�������������������������������
�������������������������������
����������������� 113

Data
Format����������������������������
�������������������������������
�������������������������������
������������������������ 113

Byte Format
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������ 113

Character Format
�������������������������������
�������������������������������
�������������������������������
�������������������������������
���� 114

A Simple Example
�������������������������������
�������������������������������
�������������������������������
����������� 115

A Stand-Alone Application
�������������������������������
�������������������������������
�������������������������������
��������������������� 115

The Client-Server Application


�������������������������������
�������������������������������
�������������������������������
���������������� 116

ix

■ Table of ConTenTs

The Client Side


�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������� 116

Alternative Presentation Aspects


�������������������������������
�������������������������������
�������������������������������
����������� 117

The Server Side


�������������������������������
�������������������������������
�������������������������������
�������������������������������
������ 117

Protocol: Informal
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��� 118

Text Protocol
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������� 118

Server Code
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������ 119

Client Code
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������� 121

Textproto Package
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�� 123

State Information
�������������������������������
�������������������������������
�������������������������������
������������ 125

Application State Transition Diagram


�������������������������������
�������������������������������
�������������������������������
���� 127

Client-State Transition Diagrams


�������������������������������
�������������������������������
�������������������������������
����������� 128

Server-State Transition Diagrams


�������������������������������
�������������������������������
�������������������������������
���������� 128

Server Pseudocode
�������������������������������
�������������������������������
�������������������������������
�������������������������������
� 129

Conclusion
�������������������������������
�������������������������������
�������������������������������
����������������������� 130

■Chapter 6: Managing Character Sets and Encodings


�������������������������������
��������� 131

Definitions
�������������������������������
�������������������������������
�������������������������������
����������������������� 132
Character
�������������������������������
�������������������������������
�������������������������������
�������������������������������
���������������� 132

Character Repertoire/Character Set


�������������������������������
�������������������������������
�������������������������������
������ 132

Character Code
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������� 132

Character Encoding
�������������������������������
�������������������������������
�������������������������������
�������������������������������
133

Transport Encoding
�������������������������������
�������������������������������
�������������������������������
�������������������������������
� 133

ASCII
�������������������������������
�������������������������������
�������������������������������
�������������������������������
� 133

ISO 8859
�������������������������������
�������������������������������
�������������������������������
�������������������������� 135

Unicode
�������������������������������
�������������������������������
�������������������������������
��������������������������� 135

UTF-8, Go, and Runes


�������������������������������
�������������������������������
�������������������������������
������ 136

UTF-8 Client and Server


�������������������������������
�������������������������������
�������������������������������
������������������������ 137

ASCII Client and Server


�������������������������������
�������������������������������
�������������������������������
�������������������������� 137

UTF-16 and Go
�������������������������������
�������������������������������
�������������������������������
����������������� 137

Little-Endian and Big-Endian


�������������������������������
�������������������������������
�������������������������������
����������������� 138

UTF-16 Client and Server


�������������������������������
�������������������������������
�������������������������������
���������������������� 138

Unicode Gotchas
�������������������������������
�������������������������������
�������������������������������
������������� 141

■ Table of ConTenTs

ISO 8859 and Go


�������������������������������
�������������������������������
�������������������������������
�������������� 142

Other Character Sets and Go


�������������������������������
�������������������������������
�������������������������� 145
Conclusion
�������������������������������
�������������������������������
�������������������������������
����������������������� 145

■Chapter 7: Security
�������������������������������
�������������������������������
������������������������������
147

ISO Security Architecture


�������������������������������
�������������������������������
�������������������������������
147

Functions and Levels


�������������������������������
�������������������������������
�������������������������������
����������������������������� 148

Mechanisms
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������� 149

Data Integrity
�������������������������������
�������������������������������
�������������������������������
������������������� 150
Symmetric Key Encryption
�������������������������������
�������������������������������
����������������������������� 153

Public Key Encryption


�������������������������������
�������������������������������
�������������������������������
������ 154

X�509 Certificates
�������������������������������
�������������������������������
�������������������������������
������������ 157

TLS
�������������������������������
�������������������������������
�������������������������������
�������������������������������
��� 160

A Basic Client
�������������������������������
�������������������������������
�������������������������������
�������������������������������
���������� 160

Server Using a Self-Signed Certificate


�������������������������������
�������������������������������
�������������������������������
�� 162
Conclusion
�������������������������������
�������������������������������
�������������������������������
����������������������� 165

■Chapter 8: HTTP
�������������������������������
�������������������������������
�������������������������������
���� 167

URLs and Resources


�������������������������������
�������������������������������
�������������������������������
������� 167

i18n
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������������� 167

HTTP Characteristics
�������������������������������
�������������������������������
�������������������������������
����������������������������� 169

Versions
�������������������������������
�������������������������������
�������������������������������
�������������������������������
������������������ 169

HTTP/0�9
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������������� 169

HTTP/1�0
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������������� 170

HTTP 1�1
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������������� 172

HTTP Major Upgrades


�������������������������������
�������������������������������
�������������������������������
���������������������������� 173

HTTP/2
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������������������� 173
HTTP/3
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������������������� 173

Simple User Agents


�������������������������������
�������������������������������
�������������������������������
��������� 174

The Response Type


�������������������������������
�������������������������������
�������������������������������
�������������������������������
� 174

The HEAD Method


�������������������������������
�������������������������������
�������������������������������
�������������������������������
��� 175

The GET Method


�������������������������������
�������������������������������
�������������������������������
�������������������������������
����� 177

xi

■ Table of ConTenTs
Configuring HTTP Requests
�������������������������������
�������������������������������
���������������������������� 181

The Client Object


�������������������������������
�������������������������������
�������������������������������
������������� 182

Proxy Handling
�������������������������������
�������������������������������
�������������������������������
���������������� 184

Simple Proxy
�������������������������������
�������������������������������
�������������������������������
�������������������������������
����������� 185

Authenticating Proxy
�������������������������������
�������������������������������
�������������������������������
����������������������������� 187

HTTPS Connections by Clients


�������������������������������
�������������������������������
������������������������ 189

Servers
�������������������������������
�������������������������������
�������������������������������
���������������������������� 191

File Server
�������������������������������
�������������������������������
�������������������������������
�������������������������������
�������������� 191

Handler
Functions���������������������������
�������������������������������
�������������������������������
�������������������������������
������� 193

Bypassing the Default Multiplexer


�������������������������������
�������������������������������
�������������������������������
��������� 194

HTTPS
�������������������������������
�������������������������������
�������������������������������
������������������������������
195

Conclusion
�������������������������������
�������������������������������
�������������������������������
����������������������� 197
Discovering Diverse Content Through
Random Scribd Documents
Hammett's, at the Gate, London Bridge.
Hampton Court, Newport Street.
Hanover, corner of Suffolk Street, Pall Mall.
Hanover, Finch Lane.
Hargrave's, without Bishopsgate Street.
Harris's, Love Lane.
Harris's, Ormonde Street.
Hart's, Lincoln's Inn.
Harwood's, Little Eastcheap.
Hatton's, Basinghall Street.
Hatwell, near St. Catherine's Stairs.
Haverse's, Whitechapel Bars.
Heming's, Holborn.
Hepworth's, Old Fish Street Hill.
Heyford's, Queen Street, Cheapside.
Hilliard's, Bread Street.
Hogarth's, St. John's Gate, Clerkenwell.
Holland's, Bridge Row.
Holland's, near St. Antholin's pump, Watling Street.
Holme's, Bartholomew Lane.
Hood's, Pudding Lane.
Howard's, behind the Exchange.
Howel's, Wild Street.
Hugh's, Charles Street, Westminster.
Hunt's, Friday Street.
Hurt's, against Catherine Street, Strand.

Italian (the), Catherine Street, Strand.


Ives's, Bartholomew Lane.

Jack's, Sweeting's Alley, by the Exchange.


Jack's, King Street, Cheapside.
Jack's (Thos.), Birchin Lane.
Jacob's, Threadneedle Street.
Jamaica, Cornhill, by the Ship and Turtle.
James's Street, St. James's Street, (Elliot, proprietor).
Jerusalem, near Garraway's.
Joe's, Hatton Garden.
Joe's, by Moorgate.
Joe's, Bucklersbury.
Joe's, St. James's Market.
John's, Fuller's Rents.
John's, Swithin's Alley (? same as Jack's).
John's, Birchin Lane.
John's, Great Old Bailey.
John's, Earl's Court, Bow Street.
John's, Shire Lane, Temple Bar.
John's, St. Martin's Lane.
John's, Gracechurch Street.
Johnson's, near St. James's Church, Piccadilly.
Jonathan's, Exchange Alley.
Jones's, Finch Lane.
Jones's, Mountford's Court, Milk Street.
Jones's, St. Martin's Lane.
Jordan's, near Rotherhithe Stairs.

Keeble's, Snow Hill.


Kentish, near the Custom House.
Kidd's, Catherine Street, Strand.
Kigg's, James Street, Golden Square.
Kimpton's, Fenchurch Street.
King's Arms, Customs House.
King's Head, in the paved Stones in West Smithfield.
Kirk's, Corner of Panton Square.
Knight's, Essex Street.
Knight's, Fish Street Hill.

Lamb's, opposite Devonshire Square, Bishopsgate.


Lane, King Street, Golden Square.
Laurence's, Freeman's Court, Cornhill.
Leadenhall, Leadenhall Street.
Leonard's, Finch Lane.
Lewenden's, Giltspur Street.
Lincoln's Inn, Chichester Rents.
Linnett's, George Alley, Snow Hill.
Lisbourne (Lisbon), Threadneedle Street.
Lloyd's, Lombard Street.
Lloyd's (Widow), at the Victualling Office Gate, Little Tower Hill.
London, Threadneedle Street.
London's, opposite Somerset House.
London Bridge.
London Stone, Cannon Street.
Lucas's.
Lyon's, near Doctors' Commons.
Lyth's, Freeman's Yard, Cornhill.

Macham's, West Smithfield.


Mackerell's, Bartlett's Buildings, Holborn.
Man's, Birchin Lane.
Man's, Chancery Lane.
Man's (old), Tilt Yard, Charing Cross.
Man's (young), Charing Cross.
Man's (young), Crooked Lane.
Man's (New), Charing Cross.
Manwaring's, Falcon Court, Fleet Street.
Margaret's, Cheapside.
Marine, Birchin Lane.
Marine, Piccadilly.
Marlborough (the), Wellclose Square.
Marlborough (the), Corner of Great Marlborough Street.
Martial's, White Horse Court.
Martin's, Guildhall Yard.
Martin's Street, Northumberland House.
Mason's, Bartholomew Lane.
Mawl's, within Newgate.
Mead's, Minories.
Meakin's, corner of East Cheap and Fish Street Hill.
Meare's, east end of St. Paul's.
Mears', by St. Austin's.
Mill's, Gerrard Street.
Mitchell's at the Navy Office, Crutched Friars.
Mitre, Mitre Court, Fleet Street.
Moncrieth's, Threadneedle Street.
Montpellier's, behind the Exchange.
More's, Peter's Street, Bloomsbury.
Morris's, Essex Street, Strand.
Mynshill's, Three Crown Court, Southwark.

Nag's Head, Nag's Head Court, Gracechurch Street.


Nando's, Inner Temple Gate, Fleet Street.
Navy, against the Navy Office.
Ned's, in the Old Jewry.
Ned's, Birchin Lane.
Ned's, Ludgate Hill.
Ned's, Mitre Court, Temple.
Needham's, Castle Yard, Holborn Bars.
New England, Minories.
New Inn, Wych Street.
Nixon's, Mitre Court, Temple.
North's, King Street, Cheapside.
Norton's, near St. Margaret's Church, Westminster.
Norwich (the), Threadneedle Street.

Okeley's, Old Bailey.


Oliver's, Westminster Hall Gate.
Owen's, Symond's Inn.
Oxford (the), without Temple Bar.
Ozinda's, St. James's Street.

Pall Mall, Pall Mall.


Palsgrave's Head, without Temple Bar.
Paris, Suffolk Street, Charing Cross.
Parliament, Old Palace Yard.
Paul's Street, St. Paul's Churchyard.
Pear's, Broad Street, Ratcliffe Cross.
Pen's, Queen Street.
Pensilvania, Birchin Lane.
Perry's, Great Russell Street.
Peter's, Threadneedle Street.
Pickering's, Cornhill.
Picket's, Clerkenwell Close.
Picking's, Clerkenwell Close.
Plantation (the), Water Lane.
Plough (the), Coleman Street.
Ponce's, or Pon's, Cecil Court, St. Martin's Lane.
Poole's, without Bishopsgate.
Portugal, Sweeting's Alley.
Potter's (Widow), St. James's Street.
Powell's, Cornhill.
Power's, near Queen's Arms, Pall Mall.
Pratt's, Cateaton Street.
Prince's, Paul's Alley.
Prince of Orange, end of the Haymarket.
Purcell's, within the Nag's Head Tavern, Cheapside.

Queen's Arms, Custom House.


Queen's Square, near Petty France, Westminster.
Queen's Square, Devonshire Street, behind Red Lion Square.
Queen Street, Queen Street, Westminster.

Rainbow, Temple Bar.


Rainbow, Cornhill.
Rainbow, Corner of St. Martin's Lane.
Rainbow, by Fleet Bridge.
Rainbow, Ivy Lane.
Rainbow, Hoxton Square.
Rainbow, Newgate Street.
Randall's, Newport Street.
Rawle's, near the Maypole, Horsleydown.
Read's, Blackfriars, by Ludgate.
Rice's, Haymarket.
Richard's, near the Temple.
Rive's, by Clare Market.
Robin's, Exchange Alley.
Robin's, Basing Lane, near Cheapside.
Robinson's, Dean Street, Soho.
Robinson's, Berry Street, St. James's.
Roll's (the), Chancery Lane.
Rose (the), Covent Garden.
Royal (the), back gate of Lincoln's Inn.
Royal (the), St. James's Street.
Royal (the), Exchange Alley.
Royal Fishery (the), Thames Street.
Royal Union, by the Exchange.
Rowe's, Bridge Foot, Southwark.
Royce's, Clare Market.
Rudkin's, in the Rules of the Queen's Bench.

Salutation (the), Threadneedle Street.


Salutation (the), Tower Street.
Salutation (the), Bartholomew Lane
Salter's (Don Saltero's), Chelsea.
Sam's, Ludgate Hill.
Sam's, near the Custom House.
Sandal's, opposite the Custom House.
St. Amand's, on the pav'd Stones over against Tom's Coffee
House, in St. Martin's Lane.
Sarah's, Cornhill.
Sarah's, between Laurence Lane and King Street, Cheapside.
Sarah's, Fleet Street.
Say's, Ludgate Hill.
Scot's, near St. Dunstan's Church, Fleet Street.
Seager's, Haymarket.
Seago's, near Barnard's Inn.
Searl's, or Serle's, corner of Lincoln's Inn Square.
Serjeant's Inn, Chancery Lane.
Sews, Bow Lane, Cheapside.
Sheffield's, Temple Exchange.
Shipton's, Swithin's Alley.
Shiringham's, White Hart Court, Whitechapel.
Slaughter's, St. Martin's Lane.
Smart's Quay, near Billingsgate.
Smith's, Stock's Market.
Smith's, Gerrard Street, Soho.
Smith's, Silver Street, near Bloomsbury Market.
Smyrna (the), Pall Mall.
Smyrna (the), Peter's Alley, Cornhill.
Smyther's, Custom House.
South Sea, Broad Street.
Spentley's, near the Playhouse, Drury Lane.
Spurrett's, Bedford Court, Covent Garden.
Square's, Orange Street.
Squire's, Fulwood's Rents, Holborn.
Stal's, or Steel's, Bread Street.
Staple's Inn, Holborn.
Star (the), Mitre Court, Fleet Street.
Star (the), in the Mint.
Star (the), Crutched Friars.
Star (the), by the Royal Exchange.
Star (the), Exchange Alley.
Stephen's, Bloomsbury.
Steward's, 3 King's Court, by Water Lane, Fleet Street.
Storer's, King Street, by Old Street Square.
Stylyard, near the Stylyard, Thames Street.
Sun (the), behind the Exchange.
Sun (the), Queen Street, Cheapside.
Sun (the), Threadneedle Street.
Sun (the), Holbourne Conduit.
Sun (the), York Buildings.
Sun (the), Chancery Lane.
Sun (the Old), opposite the Navy Office.
Sunderland's, Warwick Lane.
Swan (the), Bloomsbury.
Swan's, Throgmorton Street.

Tarrant's, within Aldgate.


Tart's, Bartholomew Close.
Tawney's, Bell Savage Yard.
Tayler's, in the Mint.
Temple, Clifford's Inn Gate.
Templeman's, Charing Cross.
Thavies Inn, Bartlett's Buildings.
Tilt Yard, Whitehall.
Tom's, St. Martin's Lane.
Tom's, Half Moon Court, Ludgate Hill.
Tom's, in the pav'd Court, Fulwood's Rents.
Tom's, Devereux Court, Temple.
Tom's, Russell Street, Covent Garden.
Tom's (Old), Birchin Lane.
Towell's, West Smithfield.
Tower (the), Tower Street.
Turk's Head (the), Charles Street, Covent Garden.
Turk's Head (the), Essex Street.
Turk's Head (the), King's Gate Street.
Turk's Head (the), opposite the Fountain, Strand.
Turk's Head (the), Bell Savage Yard.
Turney's, Cornhill.
Twing's, Old Bailey Court.

Union (the), Exchange Alley.


Union (the), by King Edward's Stairs, Wapping.

Vernon's (Widow), Bartholomew Lane.


Viccar's, Court of Requests, Guildhall.
Victualling Office, Tower Hill.
Vigus's, Court of Requests, Westminster.
Vincent's, 3 Crown Court, Westminster.
Virginia (the), St. Michael's Alley.
Virginia (the), Birchin Lane.

Waghorn's, New Palace Yard, Westminster.


Waghorn's, Pope's Head Alley.
Wakeford's, Pudding Lane.
Walch's, Clare Market.
Wallsall's, Nag's Head Court, Bartholomew Lane.
Walton's, Warwick Lane.
Walton's, Denmark Street, Ratcliffe Highway.
Webb's, West Smithfield.
Wells (Mrs.), Scotland Yard Gate.
Whitehall, Buckingham Court, Charing Cross.
Wiat's, St. Olave's, Southwark.
Widow's (the), Half Moon Alley, Cheapside.
Widow's (the), Bedford Court.
Wijert's, Earl's Court, Drury Lane.
Will's, 1 Bow Street (Wm. Unwin, proprietor).
Will's, Threadneedle Street.
Will's, under Scotland Yard Gate.
Will's, Cornhill, by the Exchange.
Will's, Fuller's Rents.
Will's, St. Lawrence Lane.
Willet's, Threadneedle Street.
Willey's, or Willis's, near the Custom House.
William's, St. James's Street.
Wilson's, Cornhill.
Windsor's, opposite Northumberland House.
Wisdom's, King Street, Westminster.
Wither's, Jewin Street.
Wood's, in the Herb market, Leadenhall.
Wright's, Aldersgate Street.
Wright's, Artillery Lane.

Yate's, Leadenhall Street.


Yeates, West Smithfield.
CHOCOLATE HOUSES.
Chocolate House, on Blackheath.
The Cocoa Tree, Pall Mall.
Lindheart's, King Street, Bloomsbury.
The Spread Eagle, Bridge Street, Covent Garden.
White's, St. James's Street.

SIR ROGER DE COVERLEY.


In Chappell's 'Popular Music of the Olden Time,' the oldest account
of this tune is given as follows: 'According to Ralph Thoresby's MS.
account of the family of Calverley, of Calverley in Yorkshire, the
dance of Roger de Coverley was named after a knight who lived in
the reign of Richard I. Thoresby was born in 1658. The following
extract was communicated to Notes and Queries, vol. i. p. 369, by
Sir Walter Calverley Trevelyan, Bart.:—Roger, so named from the
Archbishop (of York), was a person of renowned hospitality, since, at
his day, the obsolete known tune of Roger a Calverley is referred to
him, who, according to the custom of those times, kept his Minstrels,
from that their Office, named Harpers, which became a family, and
possessed lands till late Years in and about Calverley, called to this
Day Harper's roids and Harper's Spring.'
The earliest authentic notice I can find of it is in a very curious old
tract, printed in the year 1648, or ten years before Thoresby was
born, called 'A Vindication or justification of John Griffith, Esq.,
against the horrid, malitious, and unconscionable Verdict of
Coroner's Jury in Cheshire: which was packt by means of that Pocky,
Rotten, Lying, Cowardly and most perfidious knave, Sir Hugh
Caulverley Knight, onely to vent his inveterate Hatred and Malice
against me.' And, on page 5, Mr. Griffiths says: 'I purposely to vex
Sir Hugh, and his Champion Dod, sent for a fidler, and during the
time my fellow Coursers were drinking a Cup of Ale, we having run
our Match, I and my Fidler, rid up to Sayton, and from one end of
the town to the other, I made the Fidler play a tune called Roger of
Caulverley: This I did to shew, that I did not fear to be disarmed by
them, and they may thank themselves for it, for if they had not first
endeavoured to mischief me, I should not trouble myself to have
vext them.'

ROGER OF COVERLY.
'The Dancing Master,' 15 Ed. 1713.
Brit. Mus. C. 31, b. 21.

CHRIST CHURCH BELLS IN OXON.


'Dancing Master,' Ed. 1713. Dean Aldrich.
CHESHIRE ROUNDS.
LONGWAYS FOR AS MANY AS WILL,
☉ ☉ ☉ ☉ Men.
'Dancing Master,' 1713. ☽ ☽ ☽ ☽ Women.
The 1 Man casts off and his Partner follows him, the man goes
quite round; the Woman slips up the middle; the Woman casts off
and goes quite round. The 1 Man slips up the middle, the 1 cu. cross
over below the 2 cus. and cross up into their own places again, then
right and left quite round into the 2 couples place.

THE NIGHTINGALE.
The Words by Mr. Welsted. Set by Mr. Carey.
While in a Bow'r wth beau - ty blest, ...
ye lov - 'd ye lov - 'd A - min-tor lies;
While sink - ing on Lu - - cin-da's . . breast, He
fond - ly, fond - ly kiss - 'd her Eyes:
A wake-ful Night-in - - - gale, who long had
mourn'd, had mourn'd with - in ye Shade,
sweet - ly re - new'd her plain - tive Song, And
war - - - - bled through the Glade.
Melodious Songstress! cry'd ye Swain,
To Shades, to Shades less happy go;
Or, if thou wilt with us remain,
Forbear, forbear thy tuneful woe;
While in Lucinda's arms I lie,
To Song, to Song I am not free;
On her soft bosome, when I die,
I dis——cord find in thee.
Brit. Mus. 1. 530./24.
INDEX.
Abduction, 22
Abel, the opera singer, 271
Academies (gaming-houses), 83
Acrobats, 211
Act, levying a bachelor's tax, 24;
ordering use of flannel for the dead, 41;
imposing a duty on cards, 80;
repressing speculative insurances and lotteries, 87;
for the abolition of the penny post, 101;
the Game, 235;
Newspaper, 306
Actors, characteristics of, 260- 267
Actresses, 265- 268
Addison (quoted), on infancy, 8;
pin money, 26;
on ladies receiving visits in bed, 68;
his diary of a fine lady, 69;
on dancing, 77, 78;
witches, 93;
dress of the Cornish folk, 115;
ladies' head-dress, 124;
petticoats, 126;
women's affectation of male attire, 127;
political party divisions shown by differences in ladies'
face patches, 130;
at Squire's coffee-house, 172;
on the Tower lions, 186;
the tombs at Westminster, 188;
on an English sportsman, 232;
on country manners, 247;
ladies at the theatre, 257;
low comedians, 260;
stage accessories, 270;
Nicolini, the opera singer, 274;
the Royal Society, 288;
newspaper stamp duty, 307;
on the relative positions of members of the medical
profession, 315;
Sir Roger de Coverley at church, 337, 338;
on the status of chaplains, 340;
the legal profession, 353;
'river wit,' 357;
the street cries of London, 366;
the Mohocks, 385;
gipsies, 421
Admiralty, the, 406
Advertisements, in contemporary publications (quoted)—of
Daffy's Elixir, 5;
medical, 6;
necklace to cure fits, 9;
hornbooks, 10;
Latin-speaking club, 12;
educational, 11, 12;
for runaway schoolboys, 14;
respecting a private marriage, 27;
cheap marriage fees, 31;
a husband's disclaimer of liability for wife's debts, 31;
houses, 48;
of leases and rents, 49;
stained glass, 49;
of the Thames Water Company, 53;
New River Company, 54;
of sale of China ware, 57;
servants 61;
for runaway negro slaves, 62;
insurance offices', 86;
astrologers', 90, 91;
of perfumes, 96;
hair restorers, 98;
Dockwra's, of the origin of the penny post, 99, 100;
concerning the halfpenny post, 101, 102;
of Sir Richard Hoare, the banker, 103, 104;
hair collector's, 108;
hairdresser's, 111;
fine clothes, 113;
clothiers', 114, 115;
of blacking, 117;
pocket-handkerchiefs, 117;
for a lost sword, 119;
of lace, 136;
jewellery and plate, 137- 139;
wines, 152;
tea, 154;
coffee and chocolate, 155;
chocolate-making machine, 155;
tobacco, 157;
fans, 184;
theatrical and other entertainments at Bartholomew Fair,
189- 193;
Pinkethman's Droll Booth at May Fair, 197;
ditto, at Southwark, 200;
of zoological curiosities, 204;
Clinch's, the mimic and ventriloquist, 212;
Powell's puppet-shows, 215;
Pinkethman's mechanical picture, 216;
Winstanley's water-works, 219;
of bear and bull baiting, 224;
hounds, 234;
servants with shooting qualifications, 236;
archery, 237;
cricket, 241;
of my Lady Butterfield's country wake, 243;
of her rival's, 244;
concerning bowls, 244;
of the Queen's Theatre, Dorset Gardens, 249;
Lincoln's Inn Fields Theatre, 251;
Drury Lane Theatre, 251;
Queen's Theatre, Haymarket, 254;
of Handel's operas, 271;
of harpsichord, 277;
music, 277;
paintings, drawings and prints, 283;
scientific, mathematical, and chemical lectures, 289;
of Savery's steam engine, 292;
books, 294;
duty on, 307;
of quack medicines, 314, 327, 328;
concerning private mad-houses, 319;
of the Epsom Wells season, 333;
Hummums and bagnios, 336;
for lost church furniture, 341;
against false clergymen, 342;
of carriages, 379;
concerning the sale of army commissions, 396;
relating to highway robberies, 414
Advertising, 307, 308
Agents, apprentices', 63;
army, 397
Alchemists, 314
Aldersey's floating dam, 290
Aldrich Dean, 274
Ales, 150
Almanacs, tax on, 308;
list of, 308;
forgery of stamps for, 312
Almshouses, 438
Amateur magazine, an, 313
American Indians, visit of, 208, 221, 222
Amicable Contributors Fire Company, 51
Aminadab (a name applied to Quakers), 351
Amsterdam, model of, exhibited, 217
Anatomy, 323
Anderton's coffee-house, 167
Angling, 234
Animals, domestic and wild, on exhibition, 202- 207
Anne, Queen, desire of the nation that she should be the
mother of their future sovereign, 2;
death of her husband, Prince George, 2;
petitioned by Parliament to marry again, 2;
furthers the design of charity schools, 16 note;
her visits on thanksgiving occasions to the City, 16, 185;
her love for and encouragement of horse-racing, 229,
230;
her partiality for hunting, 232;
her indifference to the drama, 255;
endeavours to heighten the tone of theatrical
performances, 255, 256;
'touches' for the evil, 325, 326;
surrenders the tax of first-fruits and tenths as a bounty to
the poorer clergy, 345;
her present of a magnificent Sedan chair to the King of
Prussia, 382
Anthem on the Calves' Head Club, 181
Antidote to intoxicants, an, 154
Apothecaries, 315
Apothecaries' Hall, 316
Apprentices, 63
Archery, 237
Architecture, 285
Army, sale of commissions in the, 396;
officers, 397;
clothing, 397, 400;
pay agents, 397;
pensions, 397;
chaplains, 398;
pay, 399;
discipline, 400;
rations, 401;
recruiting for the, 401, 402;
desertion from the, 402;
punishment in the, 402
Artificial teeth, 98
'Aspectabund' (see phrase), 262
Asses' milk, 148
'A Step to the Bath, with a Character of the place' (quoted),
330, 373
Aston, Anthony (quoted), on Betterton, 261;
on Dogget, 262;
on Mrs. Barry, 266;
on Mrs. Bracegirdle, 266;
on Mrs. Verbruggen, 268
Astrologers, 89;
their pretensions to thief-detecting, 92, 93
Astrological almanacs, 310, 311
Astrology, 90, 91
Atheists, 339
Athletics, 241
Attornies, 355
'Audfarandly' (see phrase), 157
Austinfriars, Queen Anne houses in, 48
Authors, and their hardships, 294- 296
Babies, Steele's account of their early treatment, 2, 3;
Misson, on same, 4;
Ward's description of a christening, 4;
their medical treatment, 5- 7;
Addison on, 8;
dolls called, 9

Bachelors, tax on, 24


Bagnios, 335
Bakers, regulations regarding, 147, 148
Bales, John, the button-maker, aged 130, 35
Ballad-singers, 366
Ballet, originator of the, 76
Ballets, 268
Bankers, 103
Bankrupts, 423, 435
Barbers, acting as bleeders and tooth-drawers, 323
Barges, Thames State and pleasure, 359, 360;
freight, 361
'Barmaids, pretty,' 165
Barn Elms, a duelling resort, 392
Barrel, the curious, exhibited, 221
Barristers, briefless, 354
Barry, Elizabeth, the actress, 266
Bartholomew Fair, character of entertainments at, 188- 195;
its revenue forms part of the Lord Mayor's income, 196;
restrictions on, 196
Bartholomew Hospital, 438
Basset (card-playing), 79, 80
Batavian arrack, 153
Bat-fowling, 235
Bath, 67;
visitors to, 329, 330;
drinking of and bathing in its waters, 330;
daily life and diversions at, 330, 331;
gambling-houses at, 331;
private entertainments, concerts, and dancing at, 331;
character given of, 332
Bathing, hot, 330, 335;
cold, 335, 336
Bath-shilling, a, 141
Bath-water, sold in London, 332
Batson's coffee-house, 167
Bavaria, Elector of, at the gaming-table, 85
Bay Tree coffee-house, 167
Bear-baiting, 223, 224
Bear-gardens, 224
Bear tavern, 178
Bears' grease, 111
Beaus, sketch of the daily life of, 67;
analysis of one, 105;
inventory of a, 106;
their muffs, 118
Beauty patches, 130
Bedlam, 186, 188;
its economy, 436, 437
Beds, 58
Beefsteak Club, the, 184
Beer, 150
Beggars, 419, 420
Begging petitions, 419, 420
Belle, definition of a, 124
Benbow, Admiral, 403
Benefices, traffic in, 341
Benefit of clergy, 416
Berdash, the (cravat), 112
Bethlehem Hospital, 436
Betterton, the actor, 260, 261;
on Kynaston, the boy actor of women's characters, 265;
on Mrs. Verbruggen, the actress, 268
Betting, on horse-races, 230; 231;
on bowls, 245
Billiards, 242, 243
Billingsgate (bad language), 149
Billingsgate Market, 144
Bird-seed glasses, 76
Bird-shops, 76
Blackguard, derivation of name, 117
Blacking, 117
Bleach (disease), 313
Bleeding, as a medical remedy, 314
Blenheim, victory of, thanksgiving service for, 185
Blood puddings, 144
Bloom for the complexion, 97
Blow, Dr., the composer, 274
Bluecoat boys at public lotteries, 89
Blurton Spa-water, 334
Boarding schools, 12, 17
Boar's Head tavern, 178
Bob wigs, 110
Bodices, 126
Bogdani, James, the painter, 281
'Bohemians' (gipsies), 421
Boit, the enameller, 282
Booth, the actor, 263
Booths, stage dancing in, 194
Boots, 116, 117
Bottomed wigs, 110
Bounty, Queen Anne's, to the clergy, 345;
present administration of same, 346;
to soldiers, 401, 402;
to sailors, 405
Bourchier, the gambler, 84, 85
Bouts rimés, 71
Bowling Green Lane cockpit, 226
Bowling-greens, configuration of, 245
Bowls, games at, 244, 245
Boys, childhood and education of, 1- 17
Bracegirdle, Mrs., the actress, 266
Bradbery's hazard-table, 119
Brass knockers, and their attraction to the Mohocks, 389
Bread, regulations concerning, 147, 148
Breeches, 116
Bride's garters, 33
Bride's, St., charity school, 15
Bridewell, 426
British brandy, 153
Britton, Thomas, the 'musical small coal man,' 55;
his musical reunions, 274, 275
Broadcloth, 121

You might also like