<div class="ddoc_examples">
  <h4>Examples</h4>
  <p class="para">
    
<section class="code_listing">
  <div class="code_sample">
    <div class="dlang">
      <ol class="code_lines">
        <li><code class="code"><span class="keyword">import</span> std.stdio : stdout, stderr;
<span class="keyword">import</span> <span class="psymbol">ipinfo</span> : getIpinfo, IpinfoData;

getIpinfo(<span class="keyword">delegate</span>(IpinfoData data, Exception err) {
	<span class="keyword">if</span> (err) {