From 66b792616c89294c8e18a09ecfb30d1361f4685a Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Mon, 21 Jan 2019 11:39:42 +0000 Subject: [PATCH] Fix typos Fix incorrect casing on examples. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b430d73..6722afb3 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ services.AddStatsD( Host = options.HostName, Port = options.Port, Prefix = options.Prefix, - SocketProtocol = SocketProtocol.Ip, + SocketProtocol = SocketProtocol.IP, OnError = ex => LogError(ex) }; }); @@ -153,7 +153,7 @@ Bind().To().InSingletonScope(); | Port | `int` | `8125` | The StatsD port. | | DnsLookupInterval | `TimeSpan?` | `5 minutes` | Length of time to cache the host name to IP address lookup. Only used when "Host" contains a host name. | | Prefix | `string` | `string.Empty` | Prepend a prefix to all stats. -| SocketProtocol | `SocketProtocol`, one of `Udp`, `Ip`| `Udp` | Type of socket to use when sending stats to the server. | +| SocketProtocol | `SocketProtocol`, one of `Udp`, `IP`| `Udp` | Type of socket to use when sending stats to the server. | | OnError | `Func` | `null` | Function to receive notification of any exceptions. | `OnError` is a function to receive notification of any errors that occur when trying to publish a metric. This function should return: