They used exposure to cowpox to give resistance to smallpox.
That was the much safer way to do it, but had not been yet discovered in Edwards’ day.